[Top][All Lists]

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

RE: [ft] mac fonts don't load on windows

From: Mark Maigatter
Subject: RE: [ft] mac fonts don't load on windows
Date: Fri, 28 Apr 2006 11:58:39 -0700


>From a user perspective, which type of Mac fonts did this affect...just
the Mac PFB (Type 1) or was it more general?  How about OpenType fonts
that are more the Postscript derived version?


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf
Of address@hidden
Sent: Friday, April 28, 2006 9:17 AM
To: Huib-Jan Imbens
Cc: address@hidden
Subject: Re: [ft] mac fonts don't load on windows


On Fri, 28 Apr 2006 17:32:22 +0200
"Huib-Jan Imbens" <address@hidden> wrote:

>The function Mac_Read_POST_Resource in ftobjs.c both in cvs and in
>contains two obvious bugs:
>1. the line
>    pfb_pos     = 7;
>should read
>    pfb_pos     = 6; // sizeof (int) + sizeof (short)
>2. the line
>    pfb_lenpos = (FT_Byte)pfb_pos;
>should read
>    pfb_lenpos = pfb_pos; // same types, no cast
>After fixing those two bugs my mac fonts load fine again on windows.

Oops! Please let me know where I can download the fonts
to check the bug. Masatake Yamato and I had ever worked
on MacOS TrueType font loader, but we didn't test MacOS
PS fonts. We have to maintain our testing environment.


Freetype mailing list

reply via email to

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