96
Views
7
Comments
Solved
[Stimulsoft ReportManager] Japanese cannot be output in PDF output.
Question
stimulsoft-reportmanager
Web icon
Forge asset by REQWARE

When PDF is output, Japanese is displayed as ?. 

I have verified using a personal environment. Is there a way to output Japanese correctly?

UserImage.jpg
Sadanobu Kodan
Solution

'GetReportPdf' works on the server side. Fonts such as Meiryo must be registered on the server, but Japanese is not registered in Personal Enviroment.


UserImage.jpg
Sadanobu Kodan

The font setting is 'Arial' by default, but if you want to display Japanese, set it to include Japanese font characters such as Meiryo and MS Gothic.

And the font set here must be registered as a font on the client computer.


UserImage.jpg
Sadanobu Kodan

By the way, if you cannot register the appropriate font on the client computer, use the server-side option 'GetReportPdf' action.

This allows you to use PDF's built-in font function.

2019-09-20 06-40-44
Kosuke Ogawa

Hello, Tadanobu,

Thank you for your reply! 

Pdf export button in the capture seems to use the "GetReportPdf" action. If so, it is still NG...


Also, "embedded font" doesn't seem to work.

UserImage.jpg
Sadanobu Kodan

Embedded fonts and garbled matters are different issues. Did the Japanese display correctly by changing the font setting from Arial to Meiryo?


2019-09-20 06-40-44
Kosuke Ogawa

By setting to 'Meiryo', when outputting PDF from Viewer, it was output correctly in Japanese! Thank you!
However, when using the “GetReportPdf” action, it is still NG.

UserImage.jpg
Sadanobu Kodan
Solution

'GetReportPdf' works on the server side. Fonts such as Meiryo must be registered on the server, but Japanese is not registered in Personal Enviroment.


2019-09-20 06-40-44
Kosuke Ogawa

Thanks to you, I finally understood!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.