]> git.imager.perl.org - imager.git/commit
- the FT2 glyph_names() method didn't do correct error handling
authorTony Cook <tony@develop=help.com>
Mon, 18 Oct 2004 05:34:03 +0000 (05:34 +0000)
committerTony Cook <tony@develop=help.com>
Mon, 18 Oct 2004 05:34:03 +0000 (05:34 +0000)
commita4168beab92e4f73e4e86f4777ee7dcedb9881dd
treefac2b7a45cd31f755c20103865df71edf1de89d6
parentb0950e71537ef6d4cc52fbc63637754cf11662dd
- the FT2 glyph_names() method didn't do correct error handling
  when the string parameter wasn't supplied
- i_ft2_glyph_name() accepted only an unsigned char as the
  character code to get the name for, which meant it
  didn't work for unicode characters \x{100} or above
- the XS for i_ft2_glyph_name() had a similar problem
- added NameTest.ttf to be used in checking unicode glyph
  names
- added reliable_only optional parameter to the glyph_names()
  method so you can ignore theresult of FT_Has_PS_Glyph_Names()
- partly resolves https://rt.cpan.org/Ticket/Display.html?id=7949
- handle errors given by i_ft2_glyph_name() a bit more
  correctly
- the FT1 glyph_names() method didn't do correct error handling
  when the string parameter wasn't supplied
- some memory allocated when creating a callback IO object (io_new_cb)
  wasn't being released (detected with valgrind)
- the testtools.pl match[nx]() functions escapes the test string on
  test failure a bit better
12 files changed:
Changes
Imager.xs
MANIFEST
fontfiles/NameTest.sfd [new file with mode: 0644]
fontfiles/NameTest.ttf [new file with mode: 0644]
freetyp2.c
image.h
lib/Imager/Font.pm
lib/Imager/Font/FreeType2.pm
lib/Imager/Font/Truetype.pm
t/t38ft2font.t
t/testtools.pl