Page 1 of 4

Empty Print dialog with custom font

Posted: Mon Jan 22, 2024 11:41 am
by noob
i have a report that uses a custom font (NotoNaskhArabic) that loaded in Resources, when i click on print , dialog shows with empty content. but in preview there is no issue.

see attached MRT file.

im using Stimulsoft.JS 2024.1.2.

thanks.

Re: Empty Print dialog with custom font

Posted: Wed Jan 24, 2024 8:11 am
by Max Shamanov
Hello,

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

Thank you.

Re: Empty Print dialog with custom font

Posted: Fri Jan 26, 2024 6:32 am
by Max Shamanov
Hello,

Unfortunately we couldn't reproduce the poroblem with our test reports.
Please send us a sample project that reproduces the issue.

Thank you.

Re: Empty Print dialog with custom font

Posted: Sat Jan 27, 2024 11:16 am
by noob
Hello,

i have checked console there are plenty of warnings, i think thats the cause of my empty print dialog, see attached image.


thanks.

Re: Empty Print dialog with custom font

Posted: Sat Jan 27, 2024 1:24 pm
by noob
Screenshot2.png
Screenshot2.png (50.61 KiB) Viewed 2630 times

Re: Empty Print dialog with custom font

Posted: Tue Jan 30, 2024 6:26 am
by Max Shamanov
Hello,

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

Thank you.

Re: Empty Print dialog with custom font

Posted: Mon Feb 05, 2024 9:05 am
by Max Shamanov
Hello,

We couldn't reproduce the issue, please check the attached image.
Please try to add to resources only regular font file.

Thank you.

Re: Empty Print dialog with custom font

Posted: Mon Feb 05, 2024 11:42 am
by noob
Hi Max,

ok seems its my environment, even with regular fonts.

so now just i want to know from where in your code initiates that NULL request (see below image) to server? from reports.js file i mean.

thanks.

Re: Empty Print dialog with custom font

Posted: Tue Feb 06, 2024 7:17 am
by Max Shamanov
Hello,

We need some time to investigate the issue. We will let you know about the result.
Also, could you please send us a sample project that reproduced the issue.

Thank you.
#13709

Re: Empty Print dialog with custom font

Posted: Tue Feb 06, 2024 9:40 am
by noob
Hi Max,

my project is too big to create a sample from it, and with new project this won't happen.

so I want to debug it to find the cause, but I want to know what initiates the font request to server from client (probably from stimulsoft.reports.js).

Thanks.