[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft] Parsing AFM files without PFA/PFB
From: |
Antony Lee |
Subject: |
[ft] Parsing AFM files without PFA/PFB |
Date: |
Wed, 27 Mar 2019 15:43:42 +0100 |
Hi all,
Does FreeType provide a way to parse an AFM file and extract the
corresponding glyph metrics and kerning information, when the accompanying
PFA/PFB file is not present?
One use case is Matplotlib's postscript backend, which can layout glyphs
just based on their metrics but does not need the pfa/pfb files itself.
Right now Matplotlib uses its own handwritten AFM parser, but it would be
nice if FreeType's AFM support could be used instead.
Thanks in advance,
Antony Lee
- [ft] Parsing AFM files without PFA/PFB,
Antony Lee <=