Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

Report information
The Basics
Id: 7949
Status: resolved
Priority: 0/
Queue: Imager

People
Owner: TONYC [...] cpan.org
Requestors: TONYC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From: Tony Cook <tony [...] develop-help.com>
Date: Mon, 11 Oct 2004 13:46:00 +1000
To: bug-Imager [...] rt.cpan.org
Subject: i_ft2_glyph_name implementation tries to store a unicode code point in an unsiged char
This needs a test written and then to be fixed.
In the original bug report I was referring to the XS implementation - it looks like the C implementation has the same problem - accepting an unsigned char when it should really accept an unsigned long (for unicode).
Fixed for freetype 2 after some messing around (FT_Has_PS_Glyph_Names() seems to always return false for truetype fonts <sigh>) Still need to check the FT1.x code and the T1lib code (though it's more a problem for the FT1.x code - T1 only allows 256 chars anyway)
The FT1.x and T1 code had similar problems. Both have been fixed. Tests have been added. Fixed in CVS for 0.43_02