]> git.imager.perl.org - imager.git/commit - imager.h
- implemented i_t1_has_chars(), tests for same
authorTony Cook <tony@develop=help.com>
Tue, 31 Dec 2002 14:38:39 +0000 (14:38 +0000)
committerTony Cook <tony@develop=help.com>
Tue, 31 Dec 2002 14:38:39 +0000 (14:38 +0000)
commit3799c4d10a16068029e8d7abcad0ccddcaa47e94
tree6821127e5f86a682228e2bf57111e90a7419e4a2
parent0cb68c19f91f582441a984b2f4688b0fb6a39ee1
    - implemented i_t1_has_chars(), tests for same
        - 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
29 files changed:
Changes
Imager.pm
Imager.xs
MANIFEST
TODO
bigtest.perl
datatypes.h
font.c
fontfiles/ExistenceTest.afm [new file with mode: 0644]
fontfiles/ExistenceTest.pfb [new file with mode: 0644]
fontfiles/ExistenceTest.sfd [new file with mode: 0644]
fontfiles/ExistenceTest.ttf [new file with mode: 0644]
freetyp2.c
image.h
lib/Imager/Engines.pod
lib/Imager/Font.pm
lib/Imager/Font/BBox.pm [new file with mode: 0644]
lib/Imager/Font/FreeType2.pm
lib/Imager/Font/Truetype.pm
lib/Imager/Font/Type1.pm
lib/Imager/Font/Wrap.pm [new file with mode: 0644]
samples/transform.pl [new file with mode: 0644]
samples/transform1.ppm [new file with mode: 0644]
t/t30t1font.t
t/t35ttfont.t
t/t36oofont.t
t/t38ft2font.t
t/t80texttools.t [new file with mode: 0644]
t/testtools.pl