]> git.imager.perl.org - imager.git/log
imager.git
19 years agotest for warnings reading a tiff image
Tony Cook [Sat, 1 Jan 2005 13:27:19 +0000 (13:27 +0000)]
test for warnings reading a tiff image

19 years ago- added .pcf and .pcf.gz to the list of extensions supported by ft2
Tony Cook [Sat, 1 Jan 2005 13:22:55 +0000 (13:22 +0000)]
- added .pcf and .pcf.gz to the list of extensions supported by ft2

19 years ago- added trivial multiple master support via the FT2 driver
Tony Cook [Sat, 1 Jan 2005 13:18:03 +0000 (13:18 +0000)]
- added trivial multiple master support via the FT2 driver

19 years agoMultiple master test font
Tony Cook [Sat, 1 Jan 2005 07:36:14 +0000 (07:36 +0000)]
Multiple master test font

19 years ago- the gradgen filter now does the same color value conversion that
Tony Cook [Sat, 1 Jan 2005 07:23:04 +0000 (07:23 +0000)]
- the gradgen filter now does the same color value conversion that
  Imager's drawing functions do.

19 years ago- added concept index to Imager.pm's POD
Tony Cook [Sat, 1 Jan 2005 07:20:03 +0000 (07:20 +0000)]
- added concept index to Imager.pm's POD

19 years ago- add dfont to the list of extensions supported by ft2
Tony Cook [Thu, 23 Dec 2004 23:05:38 +0000 (23:05 +0000)]
- add dfont to the list of extensions supported by ft2
- document Imager::Font->new()'s index parameter

19 years ago- add a note to the README on how to get font suitcases and dfont files
Tony Cook [Thu, 23 Dec 2004 23:02:51 +0000 (23:02 +0000)]
- add a note to the README on how to get font suitcases and dfont files
  working on OS X.

19 years ago- we were undefing the wrong macro (used as an include guard) when
Tony Cook [Thu, 23 Dec 2004 23:01:27 +0000 (23:01 +0000)]
- we were undefing the wrong macro (used as an include guard) when
  building the error code translation function for freetype 2.  This
  meant most errors came out as numbers.

19 years ago- Makefile.PL now checks the directories specified by $Config{locincpth}
Tony Cook [Thu, 23 Dec 2004 01:05:44 +0000 (01:05 +0000)]
- Makefile.PL now checks the directories specified by $Config{locincpth}
  and $Config{loclibpth} for includes and libraries respectively.
  Resolves: https://rt.cpan.org/Ticket/Display.html?id=2942

19 years agoinitial work, just basic file reading/writing so far
Tony Cook [Tue, 21 Dec 2004 23:42:30 +0000 (23:42 +0000)]
initial work, just basic file reading/writing so far

19 years agoupdate for the other 2 cases too
Tony Cook [Thu, 16 Dec 2004 14:20:50 +0000 (14:20 +0000)]
update for the other 2 cases too

19 years ago- the plugins Makefile has long produced an error after all tests were
Tony Cook [Thu, 16 Dec 2004 14:17:03 +0000 (14:17 +0000)]
- the plugins Makefile has long produced an error after all tests were
  complete on Win32, finally tracked down why

19 years agowant to drop that big ppm
Tony Cook [Wed, 15 Dec 2004 22:33:20 +0000 (22:33 +0000)]
want to drop that big ppm

19 years agoRelease 0.44
Tony Cook [Wed, 15 Dec 2004 12:57:56 +0000 (12:57 +0000)]
Release 0.44

19 years agoprobing TODOs
Tony Cook [Wed, 15 Dec 2004 12:42:24 +0000 (12:42 +0000)]
probing TODOs

19 years ago-document that you don't want the FT2 freetype.h in the include path
Tony Cook [Wed, 15 Dec 2004 12:42:01 +0000 (12:42 +0000)]
-document that you don't want the FT2 freetype.h in the include path

19 years agoImager.pm needs a concept index
Tony Cook [Wed, 15 Dec 2004 00:09:50 +0000 (00:09 +0000)]
Imager.pm needs a concept index

19 years ago- method index didn't include errstr()
Tony Cook [Tue, 14 Dec 2004 11:12:49 +0000 (11:12 +0000)]
- method index didn't include errstr()

19 years ago- finish off a sentence in the "Producing an image from a CGI script"
Tony Cook [Tue, 14 Dec 2004 00:22:41 +0000 (00:22 +0000)]
- finish off a sentence in the "Producing an image from a CGI script"
  example in Imager::Files

19 years agoput the default FreeBSD FT1 header locations after the FT2 locations
Tony Cook [Sat, 11 Dec 2004 13:44:37 +0000 (13:44 +0000)]
put the default FreeBSD FT1 header locations after the FT2 locations
in our default include search list.

19 years agoset the release date
Tony Cook [Tue, 7 Dec 2004 23:52:00 +0000 (23:52 +0000)]
set the release date

19 years ago- built 0.43_03 for testing
Tony Cook [Tue, 7 Dec 2004 23:06:23 +0000 (23:06 +0000)]
- built 0.43_03 for testing

19 years agonote about META.yml
Tony Cook [Tue, 7 Dec 2004 23:05:30 +0000 (23:05 +0000)]
note about META.yml

19 years ago- make the inclusion of NO_META dependent on the version of EU::MM.
Tony Cook [Tue, 7 Dec 2004 22:59:23 +0000 (22:59 +0000)]
- make the inclusion of NO_META dependent on the version of EU::MM.
  I was going to include a META.yml but EU::MM's generation is too
  simplistic (and misses the leading document header too).  For now
  I'll leave it out.

19 years agoupdate information about giflib bugs
Tony Cook [Tue, 7 Dec 2004 13:40:12 +0000 (13:40 +0000)]
update information about giflib bugs

19 years ago- image.h had no prototype for i_ft2_bbox_r() and it was being called
Tony Cook [Mon, 6 Dec 2004 02:42:59 +0000 (02:42 +0000)]
- image.h had no prototype for i_ft2_bbox_r() and it was being called
  from Imager.xs

19 years agoneed better include macros
Tony Cook [Mon, 6 Dec 2004 02:38:06 +0000 (02:38 +0000)]
need better include macros

19 years agorelease plans and minor change to tools/imager (avoid Died message)
Tony Cook [Mon, 6 Dec 2004 02:35:40 +0000 (02:35 +0000)]
release plans and minor change to tools/imager (avoid Died message)

19 years ago- tools/imager has been removed from the MANIFEST, it's way too late
Tony Cook [Mon, 6 Dec 2004 02:32:59 +0000 (02:32 +0000)]
- tools/imager has been removed from the MANIFEST, it's way too late
  to test/debug for 0.44.

19 years agoprevent warning from size difference on some platforms
Tony Cook [Thu, 2 Dec 2004 05:26:40 +0000 (05:26 +0000)]
prevent warning from size difference on some platforms

19 years agohad wrong name there <sigh>
Tony Cook [Thu, 2 Dec 2004 04:57:40 +0000 (04:57 +0000)]
had wrong name there <sigh>

19 years ago- some tests were using $Config{ivsize} when they should have been
Tony Cook [Thu, 2 Dec 2004 04:56:37 +0000 (04:56 +0000)]
- some tests were using $Config{ivsize} when they should have been
  using $Config{intsize}
  Resolves: https://rt.cpan.org/Ticket/Display.html?id=8645

19 years agocaption isn't complete yet
Tony Cook [Thu, 2 Dec 2004 04:56:18 +0000 (04:56 +0000)]
caption isn't complete yet

19 years ago- i_readraw_wiol() now checks for image creation failure
Tony Cook [Thu, 2 Dec 2004 04:07:27 +0000 (04:07 +0000)]
- i_readraw_wiol() now checks for image creation failure
- i_readrgb_wiol() now checks for image creation failure
- i_writergb_wiol() was an empty stub, it now pushes an error message
  and explicitly returns failure.
- i_readrgb_wiol() now sets i_format to rgb.
- set i_format to raw when reading tga files and test for it
- document i_format tag

19 years ago- quant.c now checks for integer overflow allocating its image data
Tony Cook [Thu, 2 Dec 2004 03:54:50 +0000 (03:54 +0000)]
- quant.c now checks for integer overflow allocating its image data

19 years ago- test t/t35ttfont.t no longer requires TTFONTTEST to be set (and
Tony Cook [Thu, 2 Dec 2004 03:53:37 +0000 (03:53 +0000)]
- test t/t35ttfont.t no longer requires TTFONTTEST to be set (and
  hasn't for a long time,) removed that requirement from README
- updated home page URLs throughout the .pods
- added information on reporting bugs to the SUPPORT section of Imager.pm
- regops.perl now sorts the dumped data structure to produce minimal diffs

19 years ago- set i_format to tiff when reading tiff images and test for it
Tony Cook [Tue, 30 Nov 2004 09:49:50 +0000 (09:49 +0000)]
- set i_format to tiff when reading tiff images and test for it
- handle image creation failures when reading tiff files

19 years ago- set i_format to tga when reading tga files and test for it
Tony Cook [Mon, 29 Nov 2004 13:52:03 +0000 (13:52 +0000)]
- set i_format to tga when reading tga files and test for it
- handle image creation failures when reading tga files

19 years ago- set i_format to pnm when reading pnm files and test for it
Tony Cook [Mon, 29 Nov 2004 13:47:20 +0000 (13:47 +0000)]
- set i_format to pnm when reading pnm files and test for it

19 years ago- set i_format to gif when reading gif files and test for it
Tony Cook [Mon, 29 Nov 2004 13:42:41 +0000 (13:42 +0000)]
- set i_format to gif when reading gif files and test for it

19 years agochanged re-include macro name to avoid conflicts with cygwin's io.h
Tony Cook [Mon, 29 Nov 2004 10:17:30 +0000 (10:17 +0000)]
changed re-include macro name to avoid conflicts with cygwin's io.h

19 years agomore test entries
Tony Cook [Mon, 29 Nov 2004 10:00:56 +0000 (10:00 +0000)]
more test entries

19 years ago- i_img_pal_new() now releases the image object memory if creation
Tony Cook [Sun, 28 Nov 2004 13:13:12 +0000 (13:13 +0000)]
- i_img_pal_new() now releases the image object memory if creation
  fails.

19 years ago- added --palette action to tools/imager
Tony Cook [Sun, 28 Nov 2004 13:10:36 +0000 (13:10 +0000)]
- added --palette action to tools/imager

19 years ago- the BMP reader now validates the bfOffBits value from the BMP header
Tony Cook [Sun, 28 Nov 2004 13:09:58 +0000 (13:09 +0000)]
- the BMP reader now validates the bfOffBits value from the BMP header
  and skips to that offset before reading image data.  Previously this
  value was read but otherwise ignored.

19 years agovarious BMP test files added
Tony Cook [Thu, 25 Nov 2004 13:00:21 +0000 (13:00 +0000)]
various BMP test files added

19 years ago- added tools/imager to the distribution. This is still very
Tony Cook [Thu, 25 Nov 2004 12:59:26 +0000 (12:59 +0000)]
- added tools/imager to the distribution.  This is still very
  experimental and untested.  Patches welcome, if you write tests to go
  with them.

19 years ago- added many bad BMP files to test various code paths in bmp.c, and
Tony Cook [Thu, 25 Nov 2004 12:39:05 +0000 (12:39 +0000)]
- added many bad BMP files to test various code paths in bmp.c, and
  made many minor fixes to bmp.c to make them work:
  - it was possible for various types of read failures to SEGV, both
    as NULL pointer dereferences and buffer overflows
  - some errors, like palettes being too large for the number of bits
    per pixel, were not being caught
  - failing to read all of a packed data structure would not cause
    a read failure
  - invalid compression types were not always caught
  - error messages are more consistent (still not always great messages,
    but one step at a time)
- added bmp_compression_name, bmp_used_colors, bmp_filesize, bmp_bit_count
  tags on reading a BMP file

19 years agowinrgb2.bmp wasn't a 2-color (1-bit) file
Tony Cook [Thu, 25 Nov 2004 12:27:24 +0000 (12:27 +0000)]
winrgb2.bmp wasn't a 2-color (1-bit) file

19 years ago- set i_format to png when reading png files and test for it
Tony Cook [Thu, 25 Nov 2004 12:20:16 +0000 (12:20 +0000)]
- set i_format to png when reading png files and test for it
- i_yres was being set to the xres when reading a png file

19 years ago- set i_format to jpeg for jpeg files and test for it
Tony Cook [Thu, 25 Nov 2004 12:16:46 +0000 (12:16 +0000)]
- set i_format to jpeg for jpeg files and test for it

19 years agoinitial version
Tony Cook [Thu, 18 Nov 2004 05:16:04 +0000 (05:16 +0000)]
initial version

19 years agomore test bmp files
Tony Cook [Sun, 14 Nov 2004 12:41:10 +0000 (12:41 +0000)]
more test bmp files

19 years ago- creating an image where the size of the allocated image buffer would
Tony Cook [Fri, 12 Nov 2004 05:03:11 +0000 (05:03 +0000)]
- creating an image where the size of the allocated image buffer would
  overflow an integer would cause too small a buffer to be allocated.
  This could potentially be a security hole.
  partly resolves https://rt.cpan.org/Ticket/Display.html?id=8213

19 years ago- more information on gif library versions in README and Makefile.PL
Tony Cook [Fri, 12 Nov 2004 05:00:01 +0000 (05:00 +0000)]
- more information on gif library versions in README and Makefile.PL

19 years agotest image for offset value
Tony Cook [Fri, 12 Nov 2004 04:56:50 +0000 (04:56 +0000)]
test image for offset value

19 years agobase test file
Tony Cook [Thu, 11 Nov 2004 03:34:46 +0000 (03:34 +0000)]
base test file

19 years ago- updated download locations for the various libraries that Imager
Tony Cook [Thu, 11 Nov 2004 01:30:48 +0000 (01:30 +0000)]
- updated download locations for the various libraries that Imager
  depends on.  Added some advice for cygwin.

19 years ago- change the "double-include" protection macro that imio.h uses.
Tony Cook [Wed, 10 Nov 2004 02:08:23 +0000 (02:08 +0000)]
- change the "double-include" protection macro that imio.h uses.

19 years ago- renamed io.h to imio.h to prevent problems building under cygwin.
Tony Cook [Mon, 25 Oct 2004 14:10:49 +0000 (14:10 +0000)]
- renamed io.h to imio.h to prevent problems building under cygwin.
  resolve https://rt.cpan.org/Ticket/Display.html?id=7948
- i_writegif_low() wasn't setting the returned global palette, which
  meant a rubbish palette was returned to the user (detected with valgrind)

19 years ago- the XS code for i_tt_glyph_name() used unsigned char to store a
Tony Cook [Mon, 18 Oct 2004 23:52:10 +0000 (23:52 +0000)]
- the XS code for i_tt_glyph_name() used unsigned char to store a
  unicode character when it should have used unsigned long.
- the XS code for i_t1_glyph_name() used unsigned char to store a
  unicode character when it should have used unsigned long.
- resolves https://rt.cpan.org/Ticket/Display.html?id=7949
- the type 1 glyph_names() method didn't do correct error handling
  when the string parameter wasn't supplied

19 years ago- the FT2 glyph_names() method didn't do correct error handling
Tony Cook [Mon, 18 Oct 2004 05:34:03 +0000 (05:34 +0000)]
- 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

19 years ago- the changes to scale() had some problems with integer vs floating point
Tony Cook [Mon, 18 Oct 2004 04:03:35 +0000 (04:03 +0000)]
- the changes to scale() had some problems with integer vs floating point
  calculations (only caught in tests under perl 5.8.5 <sigh>)

19 years ago - the parameters to crop() weren't handled correctly in most
Tony Cook [Fri, 8 Oct 2004 06:10:32 +0000 (06:10 +0000)]
    - the parameters to crop() weren't handled correctly in most
          cases other than supplying left,top,right,bottom.
        - clarified the documentation for crop() providing more detail
          and more examples
        - the edges of the cropped area are now cropped against the
          edges of the source image
        - cropping to zero width/height is treated as an error (no
          image is returned and $src->errstr has a message)
          Resolves https://rt.cpan.org/Ticket/Display.html?id=7581
        - built 0.43_01 for testing

19 years agotransfer from temp CVS
Tony Cook [Wed, 6 Oct 2004 14:37:10 +0000 (14:37 +0000)]
transfer from temp CVS

19 years ago - the image resulting from a crop is now the same type as the
Tony Cook [Fri, 10 Sep 2004 13:29:55 +0000 (13:29 +0000)]
    - the image resulting from a crop is now the same type as the
          source image (paletted vs direct, bits/sample)
          Resolves https://rt.cpan.org/Ticket/Display.html?id=7578

19 years ago - removed a warning generated by the new matrix_transform() test
Tony Cook [Mon, 6 Sep 2004 03:15:12 +0000 (03:15 +0000)]
    - removed a warning generated by the new matrix_transform() test
        - added a method index to Imager.pm
        - corrected "flood fill" to "flood_fill" in Imager/Draw.pod
        - removed compose() method from Imager/Transformations.pod since
          it isn't implemented yet

19 years ago - the rotate() and matrix_transform() methods now accept a 'back'
Tony Cook [Sun, 5 Sep 2004 11:09:48 +0000 (11:09 +0000)]
    - the rotate() and matrix_transform() methods now accept a 'back'
          parameter specifying a background color.  This is only used
          where there is no source data (think of the corners around an
          image rotated 45 degrees) and it not combined with transparent
          pixels from the source image.
          Resolves https://rt.cpan.org/Ticket/Display.html?id=6140

19 years ago - added the equals() method to Imager::Color.
Tony Cook [Sun, 5 Sep 2004 08:50:37 +0000 (08:50 +0000)]
    - added the equals() method to Imager::Color.
          Resolves https://rt.cpan.org/Ticket/Display.html?id=2238

19 years ago - added the C<builtin> color specifier and the
Tony Cook [Sun, 5 Sep 2004 08:32:04 +0000 (08:32 +0000)]
    - added the C<builtin> color specifier and the
          Imager::Color::Table class which defines those colors.
          Resolves https://rt.cpan.org/Ticket/Display.html?id=2593

19 years ago - previously, if you supplied to_paletted and empty color map
Tony Cook [Sun, 5 Sep 2004 05:28:46 +0000 (05:28 +0000)]
    - previously, if you supplied to_paletted and empty color map
          and set make_colors to 'none', quant_translate() would segfault.
          This was because it was making the reasonable assumption that
          you'd have colors to map to.  quant_translate() now checks there
          is at least one color and return NULL if there isn't.
        - i_img_to_pal() now does error checking of the value returned by
          quant_translate().
        - Imager::to_paletted() now checks for success/failure of
          i_img_to_pal() correctly and does appropriate error handling.
        - i_writegif_low() did no error checking on the result of
          quant_translate(), it now does
        - we now test that trying to write a GIF image with no palette
          allowable by the quant options is a failure.
        - Imager::write() was doing nothing with the result of the call
          to i_writegif_gen(), in particular it wasn't returning () on
          failure.
        - added tests for paletted image handling and the methods
          specific to those images
        - the XS for i_setcolors() was missing the OUTPUT clause for
          RETVAL, and hence wasn't returning failure on failure.
        - supplying a sufficiently small scaling value could make the
          scale() method return an image with zero height or width.
        - the void context warning for scale() now includes the callers
          filename/line (instead of the default of Imager.pm line 15xx)
        - Imager->new will now return undef if the dimensions or number of
          channels specified for an image are out of range.  An error
          message can be retrieved with Imager->errstr.

19 years ago - the pnm reader read maxval for ppm/pgm files and then ignored it,
Tony Cook [Thu, 26 Aug 2004 04:31:42 +0000 (04:31 +0000)]
    - the pnm reader read maxval for ppm/pgm files and then ignored it,
          it's now validated (0 < maxval < 65536) and used to scale
          samples.  Note that binary ppm/pgm files (P6/P5) with maxval >
          255 result in an error, since I didn't want to add new features
          just yet, just get the code that's there working correctly.
          Thanks to Elthek on rhizo for reporting this and help in
          tracking it down.
        - added a bunch of tests for reading pnm files.

19 years ago - the Win32 font driver now uses DEFAULT_CHARSET rather than
Tony Cook [Sun, 8 Aug 2004 03:44:46 +0000 (03:44 +0000)]
    - the Win32 font driver now uses DEFAULT_CHARSET rather than
          ANSI_CHARSET are the lfCharSet value for the LOGFONT,
          as suggested by Takumi Yamani.
        - fontfiles/ExistenceTest.{pfb,ttf} weren't marked as
          binary in the CVS repository (caused test failures if you
          built from CVS on Win32)
        - Makefile.PL should now handle INCLUDE or LIB with spaces in them
          correctly on Win32.

19 years ago - moved some variable definitions to the right place
Tony Cook [Tue, 13 Jul 2004 04:01:49 +0000 (04:01 +0000)]
    - moved some variable definitions to the right place
        - the Win32 font driver bounding box function now returns the
          right number of values (both thanks to Takumi Yamani)

19 years ago - there would be a link or load time error on m_init_log() if
Tony Cook [Mon, 7 Jun 2004 04:58:01 +0000 (04:58 +0000)]
    - there would be a link or load time error on m_init_log() if
          Imager was built with IM_NOLOG, fixed by renamed init_log()
          to m_init_log() in log.c

20 years ago - update ppport.h and remove the duplicate definitions from
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.

20 years agodefine aTHX_ when perl doesn't (perl 5.004 for example)
Tony Cook [Thu, 22 Apr 2004 04:06:20 +0000 (04:06 +0000)]
define aTHX_ when perl doesn't (perl 5.004 for example)

20 years agofont.c now only uses the defined T1Lib error codes
Tony Cook [Thu, 22 Apr 2004 03:46:59 +0000 (03:46 +0000)]
font.c now only uses the defined T1Lib error codes

20 years agothe scale() method now warns if scalled in a void context
Tony Cook [Thu, 22 Apr 2004 03:29:56 +0000 (03:29 +0000)]
the scale() method now warns if scalled in a void context

20 years ago - refer the user to appropriate documents in the example in
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

20 years ago - only call FT_Get_Postscript_Name() on FT 2.0.6 and later
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().

20 years agoPrepare 0.43 release because of silly ft2 test skip problem.
Arnar Mar Hrafnkelsson [Tue, 17 Feb 2004 02:10:25 +0000 (02:10 +0000)]
Prepare 0.43 release because of silly ft2 test skip problem.

20 years ago - skip the right number of tests when FT2 isn't available
Tony Cook [Sun, 8 Feb 2004 22:44:47 +0000 (22:44 +0000)]
- skip the right number of tests when FT2 isn't available

20 years ago - added log() and exp() functions to 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

20 years agoAll the little fixup changes for the 0.42 release.
Arnar Mar Hrafnkelsson [Sun, 4 Jan 2004 12:42:13 +0000 (12:42 +0000)]
All the little fixup changes for the 0.42 release.

20 years agoRemoved half finished speedhack for 3ch8bit images so I can release a new version.
Arnar Mar Hrafnkelsson [Sat, 3 Jan 2004 11:02:12 +0000 (11:02 +0000)]
Removed half finished speedhack for 3ch8bit images so I can release a new version.

20 years agoWhitespace change.
Arnar Mar Hrafnkelsson [Fri, 2 Jan 2004 07:08:33 +0000 (07:08 +0000)]
Whitespace change.

20 years ago - added comment support the postfix transform2() expression
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

20 years agoimage fills with images with channels not at 4 were broken
Tony Cook [Wed, 25 Jun 2003 03:22:14 +0000 (03:22 +0000)]
image fills with images with channels not at 4 were broken

21 years agoAdded preliminary support for adding image based fonts.
Arnar Mar Hrafnkelsson [Sun, 30 Mar 2003 12:03:37 +0000 (12:03 +0000)]
Added preliminary support for adding image based fonts.

21 years agoAdded extra parameters to rubthrough so only a subimage of
Arnar Mar Hrafnkelsson [Sat, 29 Mar 2003 12:24:05 +0000 (12:24 +0000)]
Added extra parameters to rubthrough so only a subimage of
the source image is copied.

21 years ago - some older FT1 don't define TT_MS_LANGID_ENGLISH_GENERAL,
Tony Cook [Tue, 4 Mar 2003 04:13:21 +0000 (04:13 +0000)]
    - some older FT1 don't define TT_MS_LANGID_ENGLISH_GENERAL,
          which we use, define it if freetype doesn't.

21 years agoNote that only FT2 supports transforms so far.
Tony Cook [Mon, 13 Jan 2003 02:52:40 +0000 (02:52 +0000)]
Note that only FT2 supports transforms so far.

21 years ago - Debian woody supplied FT2.0.9, which didn't support
Tony Cook [Fri, 3 Jan 2003 02:06:07 +0000 (02:06 +0000)]
    - Debian woody supplied FT2.0.9, which didn't support
          FT_Has_PS_Names(), so we use the FT_HAS_GLYPH_NAMES() macro
          instead.

21 years agoFixed return type not being on seperate line.
Arnar Mar Hrafnkelsson [Tue, 31 Dec 2002 14:44:44 +0000 (14:44 +0000)]
Fixed return type not being on seperate line.

21 years ago - implemented i_t1_has_chars(), tests for same
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

21 years agofixed some minor test code hiccups
Tony Cook [Fri, 13 Dec 2002 00:34:40 +0000 (00:34 +0000)]
fixed some minor test code hiccups

21 years ago - the default tifflib warning handler was crashing on Win32
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.

21 years agofixed issue reported in ticket 1748, and added smoke tests that should
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()