freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Carbon-free fonts support for Mac OS X 10.5 (Leopard) compatibi


From: George Williams
Subject: Re: [ft] Carbon-free fonts support for Mac OS X 10.5 (Leopard) compatibility
Date: 07 Nov 2007 22:24:43 -0800

On Wed, 2007-11-07 at 19:25, Masatake YAMATO wrote:
> FT_Raccess_Guess just guesses one file name. Then IsMacResource reads
> the file gusseted by FT_Raccess_Guess. However, on Leopard, two files
> are needed; one for POST and another for sfnt.
That has always been the case (since the first postscript fonts anyway).
POST data for type1 fonts has always lived in its own weird resource
file (which contains no other resources).

However you don't need to guess the name of the type1 file. It's name is
completely determined by the PostScript fontname which is contained in
the FOND (which you are going to read anyway to get the PostScript
kerning info).

So your read the FOND, 
figure out which font in the FOND you want,
find the fontname,
do the peculiar abbreviation which changes the fontname -> filename
then open the type1 filename





reply via email to

[Prev in Thread] Current Thread [Next in Thread]