From: cristy Date: Tue, 15 Sep 2009 00:23:11 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~10692 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=319392685c26832c141965420934cacf46ceac17;p=imagemagick --- diff --git a/coders/msl.c b/coders/msl.c index e6687d703..edf316a8e 100644 --- a/coders/msl.c +++ b/coders/msl.c @@ -4807,6 +4807,34 @@ static void MSLStartElement(void *context,const xmlChar *tag, ThrowMSLException(OptionError,"UnrecognizedAttribute",keyword); break; } + case 'G': + case 'g': + { + if (LocaleCompare(keyword,"gravity") == 0) + { + option=ParseMagickOption(MagickGravityOptions,MagickFalse, + value); + if (option < 0) + ThrowMSLException(OptionError,"UnrecognizedGravityType", + value); + (void) SetImageOption(msl_info->image_info[n],keyword, + value); + break; + } + ThrowMSLException(OptionError,"UnrecognizedAttribute",keyword); + break; + } + case 'P': + case 'p': + { + if (LocaleCompare(keyword,"pointsize") == 0) + { + msl_info->image_info[n]->pointsize=atof(value); + break; + } + ThrowMSLException(OptionError,"UnrecognizedAttribute",keyword); + break; + } case 'S': case 's': { @@ -5468,7 +5496,7 @@ static void MSLStartElement(void *context,const xmlChar *tag, break; } if (attributes == (const xmlChar **) NULL) - break; + break; for (i=0; (attributes[i] != (const xmlChar *) NULL); i++) { keyword=(const char *) attributes[i++]; diff --git a/config/configure.xml b/config/configure.xml index 71e0c9a56..93ff9d31a 100644 --- a/config/configure.xml +++ b/config/configure.xml @@ -9,7 +9,7 @@ - + diff --git a/magick/version.h b/magick/version.h index fa24b5a72..fb6d88682 100644 --- a/magick/version.h +++ b/magick/version.h @@ -31,8 +31,8 @@ extern "C" { #define MagickLibVersionText "6.5.6" #define MagickLibVersionNumber 2,0,0 #define MagickLibSubversion "-0" -#define MagickReleaseDate "2009-09-12" -#define MagickChangeDate "20090911" +#define MagickReleaseDate "2009-09-14" +#define MagickChangeDate "20090913" #define MagickAuthoritativeURL "http://www.imagemagick.org" #define MagickHomeURL "file:///usr/local/share/doc/ImageMagick-6.5.6/index.html" #if (MAGICKCORE_QUANTUM_DEPTH == 8) diff --git a/tests/validate.h b/tests/validate.h index a47751104..501854e76 100644 --- a/tests/validate.h +++ b/tests/validate.h @@ -349,7 +349,9 @@ static const struct ReferenceFormats { "XPM", 0.0 }, { "XPS", 0.0 }, { "XV", 0.0 }, +#if !defined(__WINDOWS__) { "XWD", 0.0 }, +#endif { "YUV", 0.0 }, { "YCbCr", 0.0 }, { "YCbCrA", 0.0 }, diff --git a/version.sh b/version.sh index 7e83163d6..67a1c95d6 100644 --- a/version.sh +++ b/version.sh @@ -12,7 +12,7 @@ PACKAGE_NAME='ImageMagick' # PACKAGE_NAME (e.g. "1.0.0"). PACKAGE_VERSION='6.5.6' PACKAGE_LIB_VERSION="0x656" -PACKAGE_RELEASE="1" +PACKAGE_RELEASE="0" PACKAGE_LIB_VERSION_NUMBER="6,5,6,${PACKAGE_RELEASE}" PACKAGE_RELEASE_DATE=`date +%F` PACKAGE_STRING="$PACKAGE_NAME $PACKAGE_VERSION"