[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] detecting font format from ft_face
From: |
Werner LEMBERG |
Subject: |
Re: [ft] detecting font format from ft_face |
Date: |
Sat, 29 Jul 2006 23:22:06 +0200 (CEST) |
> > Try FT_Get_X11_Font_Format().
>
> Thanks, that's exactly what I need.
>
> I have to differentiate between truetype, type1 and type1 cid font
> files. This information is supposed to be in the PDF, but it's
> amazing how often it is incorrect. It also doesn't work when the
> font is not embedded, and the available system font is of another
> format than the PDF file says. [...]
Currently, FT_Get_X11_Font_Format() is intentionally not documented
well, but it seems that the information this function returns is quite
important for some applications like yours.
I'll make its documentation `public'.
Werner