Export HTML report with custom font

Stimulsoft Reports.Web discussion
Post Reply
fghiggi
Posts: 3
Joined: Tue Feb 23, 2021 7:55 pm

Export HTML report with custom font

Post by fghiggi » Mon Jun 07, 2021 3:29 pm

Exporting an report to HTML with a custom font in MRT is not working, the result file is not printed with the custom font.

Creating a new MRT file, adding a font file as a resource then setting a simple text component to this font. Then i can export to PDF, WORD, Excel and the texts on report file will have my custom font, except HTML type.

Example project

https://gitlab.com/fghiggi/stimulsoft-html-custom-font
Lech Kulikowski
Posts: 3815
Joined: Tue Mar 20, 2018 5:34 am

Re: Export HTML report with custom font

Post by Lech Kulikowski » Wed Jun 09, 2021 3:33 pm

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
Lech Kulikowski
Posts: 3815
Joined: Tue Mar 20, 2018 5:34 am

Re: Export HTML report with custom font

Post by Lech Kulikowski » Fri Jun 11, 2021 1:08 pm

Hello,

> Exporting an report to HTML with a custom font in MRT is not working, the result file is not printed with the custom font.

In our web viewers, fonts are loaded, so everything should work when printing from the viewer.
If it is the export of an entire file, then yes, it has not been implemented yet. There is the task in our todo-list.

Thank you.
Post Reply