-
I've found the answer by myself:
HPDF_UseCNSEncodings(pdf);
HPDF_UseCNSFonts(pdf);
/* create default-font */
string font_name = HPDF_LoadTTFontFromFile2(pdf,@"C:\WINDOWS\Fonts\SIMSUN.TTC", 1, false);
HPDF_Font font = HPDF_GetFont(pdf,font_name, "GBK-EUC-H");
For detail,see : doc\index.html - documentation - Fonts and Encoding.
2009-06-12 03:03:29 UTC in Haru Free PDF Library
-
Thank you for reading my issue first^_^,I have a problem now:how to suport Chinese charactors in Haru?
(If posible, sent your demo code to my email : kener1985@gmail.com thx).
2009-06-12 01:10:19 UTC in Haru Free PDF Library
-
Thank you for reading my issue first^_^,I have a problem now:how to suport Chinese charactors in Haru?
(If posible, sent your demo code to my email : kener1985@gmail.com thx).
2009-06-11 09:35:55 UTC in Haru Free PDF Library