Empty Print dialog with custom font

Stimulsoft Reports.JS discussion
Max Shamanov
Posts: 1157
Joined: Tue Sep 07, 2021 10:11 am

Re: Empty Print dialog with custom font

Post by Max Shamanov »

Hello.

We have successfully implemented an improvement.
Please check our next build 2026.1.4, when it becomes available.

Thank you.
User avatar
noob
Posts: 86
Joined: Sat Feb 05, 2022 9:03 am
Location: Iraq, Erbil

Re: Empty Print dialog with custom font

Post by noob »

Thanks
Lech Kulikowski
Posts: 7781
Joined: Tue Mar 20, 2018 5:34 am

Re: Empty Print dialog with custom font

Post by Lech Kulikowski »

Hello,

You are welcome.
User avatar
noob
Posts: 86
Joined: Sat Feb 05, 2022 9:03 am
Location: Iraq, Erbil

Re: Empty Print dialog with custom font

Post by noob »

I tested this on version 2026.1.4, and the Text component (with custom Kurdish central font) no longer renders when “Allow HTML Tags” is enabled—it disappears completely. Please check the MRT I provided.
please test those custom fonts that I attached below.
Central Kurdish Custom Fonts.zip
(454.03 KiB) Downloaded 477 times
Thanks.
Max Shamanov
Posts: 1157
Joined: Tue Sep 07, 2021 10:11 am

Re: Empty Print dialog with custom font

Post by Max Shamanov »

Hello,

Could you please clarify whether you check the JS version or the Blazor?

Thank you.
User avatar
noob
Posts: 86
Joined: Sat Feb 05, 2022 9:03 am
Location: Iraq, Erbil

Re: Empty Print dialog with custom font

Post by noob »

i use Blazor version
Max Shamanov
Posts: 1157
Joined: Tue Sep 07, 2021 10:11 am

Re: Empty Print dialog with custom font

Post by Max Shamanov »

Hello,

We checked all fonts, and the only one that did not render was NotoNaskhArabic.ttf on version 2026.1.4.
We need time to investigate the issue with the NotoNaskhArabic.ttf font.
Please check the attached images with other fonts.

Thank you.
#19571
Attachments
KJino.png
KJino.png (31.4 KiB) Viewed 38423 times
majalla.png
majalla.png (31.02 KiB) Viewed 38423 times
PARWARDA-REGULAR.png
PARWARDA-REGULAR.png (31.79 KiB) Viewed 38423 times
User avatar
noob
Posts: 86
Joined: Sat Feb 05, 2022 9:03 am
Location: Iraq, Erbil

Re: Empty Print dialog with custom font

Post by noob »

Hi Max,

Please also check export to pdf (save as pdf) for those fonts, it does not render correctly as in the report viewer.

Thanks.
Max Shamanov
Posts: 1157
Joined: Tue Sep 07, 2021 10:11 am

Re: Empty Print dialog with custom font

Post by Max Shamanov »

Hello.

We would need more time to get an answer for you.
We will let you know as soon as we have any results.

Thank you.
Max Shamanov
Posts: 1157
Joined: Tue Sep 07, 2021 10:11 am

Re: Empty Print dialog with custom font

Post by Max Shamanov »

Hello,

Our HTML tag mode is currently implemented in a simplified manner: letter width is measured separately for each character. This works perfectly for simple European languages.
Problems arise with Eastern languages, where the appearance of a letter depends on its position in the word and the surrounding letters.
To improve the handling of Arabic languages, we used a method of replacing glyph forms according to a static, predefined table. With this method, the width of a line is calculated more accurately.
But this is for universal fonts. If special fonts are used for a specific language, these ready-made forms are often not available, and all replacements are made based on internal font tables (‘GSUB’ in TrueType fonts).
In this case, the width is calculated incorrectly, with large gaps.

We need time to investigate the issue with exporting glyphs to PDF in more detail.

Thank you.
#19592
Post Reply