Description
Hi,
According to the Apple's "TrueType Reference Manual" and the Microsoft's "TrueType 1.0 Font Files Technical Specification", there are several CMap formats.
Currently FontBox implements formats 0, 4 and 6.
In attachment you can find a patch which implements formats 2, 8, 10, 12 and 13 according to my understanding of the following links :
http://www.microsoft.com/typography/otspec/cmap.htm (OpenType Specification)
http://developer.apple.com/fonts/TTRefMan/RM06/Chap6cmap.html
This patch includes changes proposal of the JIRA Issues :
PDFBOX-668, PDFBOX-670, PDFBOX-691
I hope this patch will help you.
Regards,
Eric