LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unicode Font in a PDF report (iTextSharp)

I download the examples from the https://decibel.ni.com/content/docs/DOC-10952 , I tried to use Simplified Chinese font in a PDF document generated with iTextSharp. but  I can't create the PDF document with this font,Could you write a complete example for me, thanks.

0 Kudos
Message 11 of 14
(968 Views)

The actual encoding don't support Unicode fonts.  Change the encoding (actually CP1252) for IDENTITY_H in "Get Font.vi", located at:

 

\National Instruments\LabVIEW 20XX\user.lib\Exaprom PDF\VIs\Low level\Font Low level\Get Font.vi

 

CP1252.png

 

In the message 7, I gave an example.  Play with that and if you have specific questions, I will help you.

 

 

 

0 Kudos
Message 12 of 14
(926 Views)

Thanks for your help, As shown in the figure below, I use GP18030 encoding to replace CP1252 encoding,  but I can't create the PDF document with this font, I don't know how to use the “Crude example Unicode Paragraph LV2013.vi” in the program,Can you write a example with the “Crude example Unicode Paragraph LV2013.vi”

0 Kudos
Message 13 of 14
(913 Views)

I don't think that the GB18030 is included in the Basic Multilingual Plane...

0 Kudos
Message 14 of 14
(875 Views)