head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.54 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.52 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.50 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.48 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.46 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.44 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.42 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.40 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.38 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.36 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.34 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.32 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.30 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.28 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.26 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.24 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.22 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.20 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2; locks; strict; comment @# @; 1.4 date 2003.09.03.12.18.29; author adam; state dead; branches; next 1.3; 1.3 date 2001.12.19.20.08.51; author wiz; state Exp; branches; next 1.2; 1.2 date 2000.08.30.16.13.13; author sakamoto; state Exp; branches; next 1.1; 1.1 date 2000.07.08.15.22.32; author sakamoto; state Exp; branches; next ; desc @@ 1.4 log @Changes 0.8.3: extends the Sheet files support, and fixes several memory leaks @ text @$NetBSD: patch-ad,v 1.3 2001/12/19 20:08:51 wiz Exp $ --- program/psiconv/gen_image.c.orig Sat Jun 30 15:35:24 2001 +++ program/psiconv/gen_image.c @@@@ -221,7 +221,7 @@@@ ff.output = psiconv_gen_image; for (mi = GetMagickFileList(); mi ; mi = mi->next) { if (mi->encoder) { - ff.name = strdup(mi->tag); + ff.name = strdup(mi->name); ff.description = strdup(mi->description); psiconv_list_add(fileformat_list,&ff); } @ 1.3 log @Update to 0.8.2. Fixes bulk build failure. Changes since 0.6.1: 0.8.2 200002?? Basic sheet support in library Added autogen.sh autoconf-2.50, automake-1.4-p4 0.8.1 20000110 New enum screenfont_t New program rewrite in extra Added psiconv_empty_* functions Fixed a few minor generation bugs 0.8.0 20001228 Fixed style inheritance from Normal Fixed warnings in layouts Added generation routines to libpsiconv Upgraded documentation to version 2.6 Fixed several minor parse-related issues 0.7.1 20001218 Maintenance release to be used with Abiword. Set proper interline defaults. 0.7.0 20001215 Made libpsiconv C++ compatible. general.h is now installed properly (oops...) Revamped package directory structure and files. Include files contain now the correct paths. Fixed a nasty typo; larger files should now work. It seems psiconv_verbosity was never defined. Added message printing hook for applications to capture. All result codes are now tested, library is much more robust. Some internal data fields have been renamed. 0.6.2 20001021 ImageMagick 5 now works. I hope. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @API of ImageMagick changed(s/CreateImage/ConstituteImage/). @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1 2000/07/08 15:22:32 sakamoto Exp $ d3 11 a13 29 --- psiconv/gen_image.c.orig Sat Dec 4 09:46:15 1999 +++ psiconv/gen_image.c Sat Jul 8 18:49:11 2000 @@@@ -33,8 +33,24 @@@@ static Image *get_paint_data_section(psiconv_paint_data_section sec) { Image *image; - image = CreateImage(sec->xsize,sec->ysize,sec->red,sec->green, - sec->blue,NULL); + float *pixel, *p, *red, *green, *blue; + int x,y; + ExceptionInfo exception; + + red = sec->red; + green = sec->green; + blue = sec->blue; + p = pixel = malloc(sec->xsize * sec->ysize * 3 * sizeof(float)); + for (y = 0; y < sec->ysize; y++) { + for (x = 0; x < sec->xsize; x++) { + *p++ = *red++; + *p++ = *green++; + *p++ = *blue++; + } + } + image = ConstituteImage(sec->xsize,sec->ysize,"RGB",FloatPixel,pixel,&exception); + free(pixel); + return image; } @ 1.1 log @patch for new CreateImage API of ImageMagick-5.x. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -33,8 +33,23 @@@@ d13 1 d26 1 a26 1 + image = CreateImage(sec->xsize,sec->ysize,"RGB",FloatPixel,pixel); @