I Implemented PDF-Export for my application using
PDFL SDK 10.1.1 (Windows XP x64, VC 2010, Qt 4.8)
Now i need to add unicode support. First step is to add a Font.
I tried the AddGlyphsSnip.cpp in
Samples\SnippetRunner\Sources\snippets\Shared\AddGlyphsSnip.cpp
But it does not work, as i do not have installed the referenced fonts (AdobeSongStd-Light, KozMinPr6N-Regular, AdobeMyungjoStd-Medium)
So i changed the Font names all to Arial.
I can use Arial to display japanese in my Qt-application and also Qt can generate a pdf that displays japanes writing correctly.
But if i run the AddGlyphsSnip now it always exits with
alert:The encoding (CMap) specified by a font is missing.
caused by
sysEncoding = PDSysEncodingCreateFromCMapName(ASAtomFromString(myGlyphData.encoding Name));
in Line 298
I also tired using "Identity-H" as encodingName but that does not change anything.
How can i use and embedd the installed windows fonts in a created PDF with unicode Text?