Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 6, 2011
Commits on Sep 25, 2010
  1. Move freetype 2 support into its own module

    Tony Cook authored
    lots of other changes in support of that
Commits on Jul 24, 2006
Commits on Jul 20, 2006
  1. bounding_box() for t1 driver fonts was treating spaces as empty space

    Tony Cook authored
    when calculating the bounds, which they are, but this is inconsistent
    with other drivers.  This was especially a problem for strings
    containing only spaces where the left bound would end up far to the
    right of the right bound, and similarly for the ascent and descent.
    
    calculating the bounding box for an empty string invoked special
    behaviour in t1lib, making it unreliable.
    
    Fixes: http://rt.cpan.org/Ticket/Display.html?id=20555
Commits on Jan 1, 2005
  1. Multiple master test font

    Tony Cook authored
Commits on Oct 18, 2004
  1. - the FT2 glyph_names() method didn't do correct error handling

    Tony Cook authored
      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
Commits on Dec 31, 2002
  1. - implemented i_t1_has_chars(), tests for same

    Tony Cook authored
            - added ExistenceTest.{pfb,afm,ttf} for testing $font->has_chars
            - tests for Imager::Font::Type1::has_chars();
            - tests for Imager::Font::Truetype::has_chars();
            - internal and external bounding box calculations now use
              the same hint flags as text output for Freetype 2.x
            - made the i_foo_bbox() interface more expandable by using
              symbolic constants for the sizes and array offsets
            - added a / character to the ExistenceTest.foo fonts that
              overlaps the right side of the character cell, to test the
              advance width reporting.
            - added advance width to the i_foo_bbox() interface, and
              implemented it for FT2, FT1 and Type 1
            - Imager::Font::bounding_box() now returns an Imager::Font::BBox
              object in scalar context.
            - implemented $font->align() text output method, for simple output
              of aligned text
            - created Imager::Font::Wrap::wrap_text to perform simple text
              wrapping
            - FT1, FT2 and T1 fonts now support the face_name method
            - FT1, FT2 and T1 now support the glyph_names() method
Commits on Oct 5, 2001
  1. stop ft1.x support dropping descenders

    Tony Cook authored
Commits on Mar 25, 2001
  1. Initial revision

    Arnar Mar Hrafnkelsson authored
Something went wrong with that request. Please try again.