freetype-devel
[Top][All Lists]
Advanced

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

Bugfix for Freetype 2 CVS


From: Jo Dillon
Subject: Bugfix for Freetype 2 CVS
Date: Wed, 12 Jan 2000 10:58:17 +0000

I've found and fixed a bug in the Truetype Charmap code in Freetype 2.
At line 1035 or so of src/sfnt/ttload.c, remove the line 'charmap++'.
This is in a for loop which also increments charmap, which isn't what you
want - 'phantom' uninitialised charmaps are left in the charmap array,
which are then picked up as Apple Unicode and selected as the default
encoding (since the plaform and encoding IDs are 0). Since they have an 
offset of 0 as well, this doesn't work very well :)

-- 

        Jo





reply via email to

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