Page 1 of 1

Empty string problem when saving PDF file(Korean characters)

Posted: Thu Jul 12, 2018 9:02 am
by rip_it
Hello :)

Questions regarding the pdf file font issue while using Stimulsoft Reports.Web..
(I am sorry. I am not good at English.)

Development environment information.
- C# Core Ver. 2.X
- Stimulsoft.Reports.Web.NetCore Ver. 2018.2.3
- Designer tool Ver. 2018.2.3

Report html5 viewer works well :)
report_html_view.JPG
report_html_view.JPG (53.77 KiB) Viewed 1752 times


However, it is not available when saving as a PDF file...
Korean characters are marked with blank spaces. :cry:
report_export_pdf.JPG
report_export_pdf.JPG (44.64 KiB) Viewed 1752 times


Save it in a different format, and there is no problem.(Execl, Word)
report_export_excel.JPG
report_export_excel.JPG (39.58 KiB) Viewed 1752 times

Designer Style Settings screen.
report_style_designer.JPG
report_style_designer.JPG (56.57 KiB) Viewed 1752 times
Font is "맑은 고딕(Malgun Gothic)"
It is native Korean fonts built into Windows Vista.
https://www.microsoft.com/en-US/downloa ... x?id=10490


Export Code

Code: Select all

StiPdfExportSettings settingPdf = new StiPdfExportSettings
 {
                ImageQuality = 1.0f,
                ImageResolution = 300,
                EmbeddedFonts = true,
                UseUnicode = true,
                StandardPdfFonts = true
};
           

return StiNetCoreReportResponse.ResponseAsPdf(report, settingPdf);
 
I need help with the solution.

Re: Empty string problem when saving PDF file(Korean characters)

Posted: Mon Jul 16, 2018 8:34 am
by rip_it
I changed the option value following the tech support mail.

Code: Select all

StiOptions.Export.Pdf.AllowImportSystemLibraries = true;

When saving the PDF, the characters are printed well.

Thank you for your technical support. :D

Re: Empty string problem when saving PDF file(Korean characters)

Posted: Mon Jul 16, 2018 8:48 am
by Lech Kulikowski
Hello

We are always glad to help you!
Please let us know if you need any additional help.

Thank you.