I am updating my MuPDF PDF viewer to use freetype 2.2 and I have hit
a snag. Because of the way PDF treats encodings, I need to know the
format of a loaded font face. [...]
How do I achieve the same results without using the internal header
files?
Try FT_Get_X11_Font_Format().
Can you
Hi!
I am updating my MuPDF PDF viewer to use freetype 2.2 and I have hit a snag.
Because of the way PDF treats encodings, I need to know the format of a
loaded font face.
Previously I have used the following hack to switch on the driver used:
enum { UNKNOWN, TYPE1, CFF, TRUETYPE, CID };