freetype
[Top][All Lists]
Advanced

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

RE: [Freetype] more info on the Mac Type1 FOND issue - weird style suff


From: Aaron Isaksen
Subject: RE: [Freetype] more info on the Mac Type1 FOND issue - weird style suffix tables
Date: Wed, 23 Apr 2003 12:56:30 -0400

Hey Gurk,

What are you fooling around with FreeType for?

-Aaron

> -----Original Message-----
> From: Garrick Meeker [mailto:address@hidden
> Sent: Wednesday, April 23, 2003 12:50 PM
> To: address@hidden; Paul Miller
> Subject: Re: [Freetype] more info on the Mac Type1 FOND issue - weird
> style suffix tables
> 
> 
> There is a double-free bug in ftmac.c that is now fixed in 
> CVS.  Basically if 
> it got an error while reading a font it would crash.  Now 
> Bejing doesn't 
> crash, but the reason it can't read it is because sfnt fonts 
> with multiple 
> bitmaps aren't supported yet (or something like that).
> 
> On Tuesday 22 April 2003 07:28 am, Paul Miller wrote:
> > >It seems I'm the only one using FreeType on a Mac. I did some more
> > >digging, and found a one-character mistake in the current 
> style name code
> > >(this is in all versions of ftmac.c):
> >
> > More digging here.
> >
> > It seems Type 1 font files contain multiple FOND resources - whereas
> > TrueType fonts contain a single FOND resource if there are 
> sfnt resources.
> >
> > So, I added a check for a sfnt resource. If it fails, I add 
> face_index to
> > the FOND index - otherwise I reference the first FOND and use the
> > face_index to offset the face association table (the old way).
> >
> > This seems to handle Type 1 fonts fine.
> >
> > However, there is problem with the Beijing .dfont file. 
> Attempting to load
> > it crashes FreeType. Can anyone confirm this? In theory 
> this should be a
> > problem on non-Mac hosts, because the TT loader is what is failing.
> >
> >
> > --
> > Paul Miller | address@hidden |                 Got Tivo?
> > VP of Engineering, Profound Effects, Inc. | www.profoundeffects.com
> >
> >
> > _______________________________________________
> > Freetype mailing list
> > address@hidden
> > http://www.freetype.org/mailman/listinfo/freetype
> 
> 
> _______________________________________________
> Freetype mailing list
> address@hidden
> http://www.freetype.org/mailman/listinfo/freetype
> 



reply via email to

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