[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freetype] Extracting kerning info from OpenType fonts
From: |
Marco Kuhlmann |
Subject: |
[Freetype] Extracting kerning info from OpenType fonts |
Date: |
Mon, 10 Mar 2003 00:58:57 +0100 |
User-agent: |
KMail/1.5 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there!
I ran into problems today when trying to write my first little freetype
application: I was unsuccessful in extracting the kerning information from
an OpenType font (Adobe Minion Pro) -- neither FT_HAS_KERNING nor
FT_Get_Kerning indicate that there is any kerning at all. (Although I
know there is. :-)
I had a look at the sources and found that only the first kerning table
with format 0 seems to be loaded by tt_face_load_kern. There's a remark
there that there is a possibility to access other kerning tables apart
from the default one (it's called the 'ftxkern' extension), but I could
not find any other reference to that interface in the sources.
Now my questions: Is FreeType capable of extracting OpenType metrics? Can
I use the default mechanism, or do I need some extra magic?
Thanks,
Marco
PS. I am attaching my test file, in case I am just incapable of writing C
or using your API (both of which could be possible).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iD8DBQE+a9VCKwsh7RJ8uAgRAuw2AKC9uGyzaLlFNJ+NQZdweME6hbkknACfSllM
RBDZwYA+WDt/fvdA9cClWXU=
=a513
-----END PGP SIGNATURE-----
test.c
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freetype] Extracting kerning info from OpenType fonts,
Marco Kuhlmann <=