How to add custom font in Html/Css using its path



  • Hi ,
    I have a report which use some custom fonts , so i have added those fonts inside a folder as asset .So how to use those fonts as asset either in Html or CSS by using its path. Could you please reply with an example?

    My folder structure is,

    0_1633717393478_upload-0c2222f4-8eb5-447d-a753-cead1f05a13e

    When i try to call using its path like this it will throw error,

    0_1633717716905_upload-6d43b83e-299d-499d-9614-b4f9d4cfd291 .

    Also i have one more doubt .If i try to reuse the same font (for example MullerBold.svg (which is show in the picture) to another report but stored inside different folder and when i try to render it will also throw an error like this,

    0_1633717957677_upload-64bbf819-0991-4bd9-b96f-c3c65d74c23b

    Can any one please help to troublshoot this issue?


  • administrators

    hi! which jsreport version are you using? can you make an export and upload it to the playground and then share the link to it? or if you want to keep the export private you send the export.zip file to me at bjrmatos@gmail.com



  • Hi sir,

    My jsreport version is 2.11.0
    Also i have already mailed to you both zip and link of playground.


  • administrators

    @reshmajacob93 thanks, will check your email


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.