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: mpsuzuki
Subject: Re: [ft] mac fonts don't load on windows
Date: Sat, 29 Apr 2006 01:17:19 +0900

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]