Focal Point
[SOLVED] Unable to display user defined Chinese Fonts in PDF report

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5157002786

July 11, 2017, 05:21 AM
yehf
[SOLVED] Unable to display user defined Chinese Fonts in PDF report
Hi,

I'm trying to print user defined Chinese characters in PDF report. The report uses the Arial Unicode MS font and normal Chinese fonts can be displayed in the PDF report. but there is no problem with the HTML type of report. So the issue lies with PDF fonts.

The attached eudc.TTE font was installed on WebFocus report server. I also followed the sample and modified the fontuser.xml on reporting server for adding user defined fonts as below:


family name="EUDC"/>
font style="normal"
metricsfile="pdeudc" fontfile="EUDC" fonttype="TTF"/>
font style="bold"
metricsfile="pdeudcb" fontfile="EUDC" fonttype="TTF"/>
font style="italic"
metricsfile="pdeudci" fontfile="EUDC" fonttype="TTF" />
font style="bold+italic"
metricsfile="pdeudcbi" fontfile="EUDC" fonttype="TTF" />
family/>

After restarting report server and client, I run the PDF report and then got this error:

Cannot find or create the font 'PTGXMK+EUDC', some characters may not display or print correctly.

Thanks a lot in advance for any help.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.2
Windows Server 2016
PDF, Excel
July 11, 2017, 07:04 AM
yehf
I've figured out this issue. Once I copy the font file eudc.ttf to Webfocus reporting server folder /ibi/srv82/wfs/etc/, then the problem was solved.


WebFOCUS 8.2
Windows Server 2016
PDF, Excel