[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Type 1 dictionary information
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] Type 1 dictionary information |
Date: |
Wed, 26 Oct 2011 19:41:40 +0200 (CEST) |
> I'm looking at getting Type 1 font data *out* of Freetype to use in
> Ghostscript - in other words, using FT to parse a Postscript T1 font
> stream, and then retrieve the data to build a Postscript font
> dictionary for use by Ghostscript.
>
> At moment, I don't see public API call(s) to retrieve the font
> dictionary data, but there are calls to retrieve the Private
> dictionary contents and FontInfo dictionary contents - which I would
> think would be of limited use without the rest of the font data.
>
> So, is this something amenable to change?
I'm not sure whether this really works. While you get most
informations from a `standard' Type 1 font with FreeType's parsing
algorithm, there are examples like Adobe's `optima' family where this
fails...
In general, I hesitate to provide an API to data which can be
sometimes incorrect...
What exactly do you have in mind?
Werner