[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft] mac fonts don't load on windows
From: |
Huib-Jan Imbens |
Subject: |
[ft] mac fonts don't load on windows |
Date: |
Fri, 28 Apr 2006 17:32:22 +0200 |
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.
Yours,
Huib-Jan
- [ft] mac fonts don't load on windows,
Huib-Jan Imbens <=