Thanks for your answer.
The ToUnicode map is missing for my TrueType font.
I tried to extract the encoding table with PDFontAcquireEncodingArray() and the array is NULL for that font.
Reading the Reference:
- TrueType font could use stadanrd encoding (MacRoman, WinAnsi...) . I verified that in my PDF font doesn't use the standard encoding, so I would aspect somekind of encoding table.
- TrueType font can have a cmaps (and subtables if any) that maps char codes with glyph, but it is different from Unicode CMap. Ho can I extract this cmap table (specific for TrueType fonts if I understood) from font?
- How can I read a font program? Which kind of informations does it contains?
Thanks!