Page 1 of 1

2024.1.2 on SpringBoot3 font error

Posted: Sun Jan 14, 2024 3:28 am
by sutrazhou
1、jdk17 + springboot3
2、stimulsoft-reports-report 2024.1.2

run windows get

Your system does not have access to font files, please use export without embedded fonts

Re: 2024.1.2 on SpringBoot3 font error

Posted: Mon Jan 15, 2024 8:18 am
by Vadim
Hello.

If you try to export report to PDF file with option Embedded Fonts = true and Java server have no access to font files you will get this message.
Please export to PDF with option Embedded Fonts = false

Re: 2024.1.2 on SpringBoot3 font error

Posted: Tue Jan 16, 2024 3:53 am
by sutrazhou
The same code can run on JDK8, so I don't think that's the reason

Re: 2024.1.2 on SpringBoot3 font error

Posted: Wed Jan 17, 2024 6:00 am
by Vadim
Hello.

Yes, it is the reason, some JDK don't allow to access font files.
As solution from version 2024.1.3 you can add necessary TrueType fonts to report resources - it will use for export to PDF with embedded fonts.

Re: 2024.1.2 on SpringBoot3 font error

Posted: Fri Jan 26, 2024 12:38 am
by sutrazhou
Do you have any explanatory documents or examples?

Re: 2024.1.2 on SpringBoot3 font error

Posted: Mon Jan 29, 2024 9:41 pm
by Lech Kulikowski
Hello,

You can add the necessary font in the resources of the report.

Thank you.

Re: 2024.1.2 on SpringBoot3 font error

Posted: Mon Mar 11, 2024 8:33 am
by sutrazhou
Vadim wrote: Mon Jan 15, 2024 8:18 am Hello.

If you try to export report to PDF file with option Embedded Fonts = true and Java server have no access to font files you will get this message.
Please export to PDF with option Embedded Fonts = false
Do you have any other solutions

Re: 2024.1.2 on SpringBoot3 font error

Posted: Tue Mar 12, 2024 9:59 am
by Vadim
Hello,

Add necessary fonts in the resources of the report is the only way.