PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.
What exactly does the property Fonts.WriteToUnicode?
If I generate a pdf file without the property Fonts.WriteToUnicode = TRUE, the result seems to be the same as with this property. Even very strange characters like ᶄ ᶾ ẙ works without this property as well as with the property.
You would probably not be able to copy and paste characters from both of your test files in the same way!
The "ToUnicode" table is not mandatory for a font to display correctly inside the PDF file, however when you want to copy that text and be able to paste it in a third party product (e.g. Notepad/WordPad) - the "ToUnicode table is needed for the 'translation' process. Otherwise you might end up with "squares" pasted in notepad instead of the expected symbols.
So I presume that the .WriteToUnicode forces the creation of the "ToUnicode" table needed for text copying and pasting.
I did some more reading - and it seems like with .WriteToUnicode set - the fonts are encoded using unicode character map set and not e.g. a narrower ones like say Windows-1251-1252 etc.