Tony Cook [Thu, 22 Apr 2004 07:01:07 +0000 (07:01 +0000)]
- update ppport.h and remove the duplicate definitions from
Imager.xs. Had to mangle ppport.h to prevent duplicate global
function definitions.
- newer versions of tifflib require that all of the function
pointers passed to TIFFClientOpen be non-NULL, the mmap() and
munmap() pointers were always NULL and the sizeproc was
sometimes NULL.
Tony Cook [Thu, 22 Apr 2004 03:04:14 +0000 (03:04 +0000)]
- refer the user to appropriate documents in the example in
Imager.pm
- change the list of documents in Imager.pm to move the document
names out of the =item lines so we can make them into links
Tony Cook [Wed, 10 Mar 2004 13:22:41 +0000 (13:22 +0000)]
- only call FT_Get_Postscript_Name() on FT 2.0.6 and later
- put the IM_LIBPATH and IM_INCPATH values first in the search
path so the builder gets their local versions if desired rather
than the system versions they might be trying to avoid
- document the exp() and log() transform2() functions
- document the constants normally set by transform2().
Tony Cook [Thu, 5 Feb 2004 04:32:16 +0000 (04:32 +0000)]
- added log() and exp() functions to transform2()
- change the getpN() functions in transform2() to set a
reasonable alpha if the input image has no alpha
- document the constants that transform2() defines
Tony Cook [Thu, 26 Jun 2003 03:50:00 +0000 (03:50 +0000)]
- added comment support the postfix transform2() expression
parser
- transform2() can now produce images with other than 3 channels.
- added a correct T_AVREF input mapping to the typemap to
simplify parameter lists
Tony Cook [Tue, 31 Dec 2002 14:38:39 +0000 (14:38 +0000)]
- 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
Tony Cook [Tue, 5 Nov 2002 14:14:23 +0000 (14:14 +0000)]
- the default tifflib warning handler was crashing on Win32
under ActivePerl, when an unrecognized tag was read from the
file. For now we'll just drop the warnings in the bit bucket.
(Ticket #1513)
- the code to read multiple tiffs didn't handle files with more
than five images correctly, causing a memory overrun.
Tony Cook [Tue, 5 Nov 2002 00:11:23 +0000 (00:11 +0000)]
fixed issue reported in ticket 1748, and added smoke tests that should
have been there to detect it in the first place ;)
updated t37w32font.t to allow for i_draw to i_line rename
removed non-portable call to rint()
Tony Cook [Thu, 9 May 2002 13:23:08 +0000 (13:23 +0000)]
- handle UTF8 strings passed to T1 low-level functions
- handle flags for underline, strikethrough and overline for T1
low-level output functions
- OO interfaces to UTF8 and flags, for now leaving the flags as
specific to Imager::Font::Type1
Modified i_line_aa to use a modified bresenham algorithm. This method
also does endpoint handling like i_line does. This will hopefully make
line drawing more consistent.
Switched i_draw to i_line, added endpoint boolean condition,
switched the algorithm to Bresenham from a stupid floating point
implementation. Updated docs.
Tony Cook [Sun, 31 Mar 2002 11:09:10 +0000 (11:09 +0000)]
- hide more of our Darwin dlload emulation to prevent runtime
symbol conflicts
- use INT2PTR() and PTR2IV() macros instead of direct casts to
prevent pointer vs int size warnings on 64-bit builds of perl.
- add our own INT2PTR and PTR2IV definitions when perl doesn't
supply them
Tony Cook [Fri, 29 Mar 2002 12:14:23 +0000 (12:14 +0000)]
- handle the presence of the default broken giflib better,
by giving them some more prose about the problem, and skipping
all but the first test that fails with the broken giflib