Empty string problem when saving PDF file(Korean characters)

Stimulsoft Reports.WEB discussion
Post Reply
User avatar
rip_it
Posts: 4
Joined: Thu Jul 12, 2018 8:16 am

Empty string problem when saving PDF file(Korean characters)

Post 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 1560 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 1560 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 1560 times

Designer Style Settings screen.
report_style_designer.JPG
report_style_designer.JPG (56.57 KiB) Viewed 1560 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.
Attachments
Report.xlsx
(7.38 KiB) Downloaded 127 times
Report.pdf
(14.23 KiB) Downloaded 145 times
stmt_list_mk2.mrt
report file
(41.75 KiB) Downloaded 130 times
User avatar
rip_it
Posts: 4
Joined: Thu Jul 12, 2018 8:16 am

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

Post 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
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski »

Hello

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

Thank you.
Post Reply