freetype
[Top][All Lists]
Advanced

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

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


From: Huib-Jan Imbens
Subject: Re: [ft] mac fonts don't load on windows
Date: Fri, 28 Apr 2006 22:28:30 +0200

Hi,

You can download the font at http://www.syncode.nl/DINBla
It is not a free font so you can only use it for testing.
The font used to load fine with 2.1.5 but it fails to load with 2.1.10 and 2.2

Huib-Jan

----- Original Message ----- From: <address@hidden>
To: "Huib-Jan Imbens" <address@hidden>
Cc: <address@hidden>
Sent: Friday, April 28, 2006 6:17 PM
Subject: Re: [ft] mac fonts don't load on windows


Hi,

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 2.1.10
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.

Regards,
mpsuzuki







reply via email to

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