Page 1 of 1

-annotate behaviour

Posted: 2013-01-06T02:04:30-07:00
by marten
Hi,
I observe some strange font rendering artifacts with latest releases, here is an example:

This is what I got in the past with imagemagick and GIMP:
Image

This is what I get now with 6.7.8.7 and 6.7.9.9 and 6.8.1.9:
Image

Command line that I used to draw text:

Code: Select all

convert -fill white \
	-font Linux-Biolinum-Regular -pointsize 36 -gravity center \
	-annotate +0+0 "Do your work. Don't be stupid." $input $output
Unfortunately I can't say with which version I had correct rendering.
convert -list configure:

Code: Select all

Path: /usr/lib64/ImageMagick-6.7.8/config/configure.xml

Name          Value
-------------------------------------------------------------------------------
CC            x86_64-pc-linux-gnu-gcc -std=gnu99 -std=gnu99
CFLAGS        -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fopenmp -march=k8-sse3 -O2 -pipe -mfpmath=both -ftree-vectorize -Wall -pthread
CODER_PATH    /usr/lib64/ImageMagick-6.7.8/modules-Q32/coders
CONFIGURE     ./configure  '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--disable-dependency-tracking' '--disable-static' '--enable-hdri' '--disable-opencl' '--with-threads' '--without-included-ltdl' '--with-ltdl-include=/usr/include' '--with-ltdl-lib=/usr/lib64' '--with-modules' '--with-quantum-depth=32' '--with-magick-plus-plus' '--without-perl' '--with-perl-options=INSTALLDIRS=vendor' '--with-gs-font-dir=/usr/share/fonts/urw-fonts' '--with-bzlib' '--with-x' '--with-zlib' '--without-autotrace' '--without-dps' '--with-djvu' '--with-dejavu-font-dir=/usr/share/fonts/dejavu' '--with-fftw' '--without-fpx' '--with-fontconfig' '--with-freetype' '--without-gslib' '--with-gvc' '--with-jbig' '--with-jpeg' '--with-jp2' '--without-lcms' '--with-lcms2' '--with-lqr' '--with-lzma' '--with-openexr' '--without-pango' '--with-png' '--with-rsvg' '--with-tiff' '--with-webp' '--without-windows-font-dir' '--with-wmf' '--with-xml' '--enable-openmp' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=k8-sse3 -O2 -pipe -mfpmath=both -ftree-vectorize' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CXXFLAGS=-march=k8-sse3 -O2 -pipe -mfpmath=both -ftree-vectorize'
CONFIGURE_PATH /etc/ImageMagick/
COPYRIGHT     Copyright (C) 1999-2012 ImageMagick Studio LLC
CPPFLAGS      -I/usr/include/ImageMagick
CXX           x86_64-pc-linux-gnu-g++
CXXFLAGS      -march=k8-sse3 -O2 -pipe -mfpmath=both -ftree-vectorize -pthread
DEFS          -DHAVE_CONFIG_H
DELEGATES     bzlib djvu fftw fontconfig freetype gvc jbig jpeg jng jp2 lcms2 lqr lzma mpeg openexr png rsvg tiff x11 xml wmf zlib
DISTCHECK_CONFIG_FLAGS 'CFLAGS=-march=k8-sse3 -O2 -pipe -mfpmath=both -ftree-vectorize' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' --disable-deprecated --with-quantum-depth=32 --with-umem=no --with-autotrace=no --with-dps=no --with-dejavu-font-dir=/usr/share/fonts/dejavu --with-fpx=no --with-gslib=no --with-fontpath= --with-gs-font-dir=/usr/share/fonts/urw-fonts --with-lcms=no --with-pango=no --with-windows-font-dir=no --with-perl=no
DOCUMENTATION_PATH /usr/share/doc/ImageMagick-6.7.8
EXEC-PREFIX   /usr
EXECUTABLE_PATH /usr/bin
FEATURES      HDRI OpenMP 
FILTER_PATH   /usr/lib64/ImageMagick-6.7.8/modules-Q32/filters
HOST          x86_64-pc-linux-gnu
INCLUDE_PATH  /usr/include/ImageMagick
LDFLAGS       -L/usr/lib64 -Wl,-O1 -Wl,--as-needed -L/usr/lib
LIB_VERSION   0x678
LIB_VERSION_NUMBER 6,7,8,7
LIBRARY_PATH  /usr/lib64/ImageMagick-6.7.8
LIBS          -lMagickCore -llcms2 -ltiff -lfreetype -ljpeg -llqr-1 -lglib-2.0 -lfftw3 -lfontconfig -lXext -lSM -lICE -lX11 -lXt -llzma -lbz2 -lz -lm -lgomp -lpthread -lltdl
NAME          ImageMagick
PCFLAGS       -fopenmp
PREFIX        /usr
QuantumDepth  32
RELEASE_DATE  2013-01-03
SHARE_PATH    /usr/share/ImageMagick-6.7.8
SVN_REVISION  8767
TARGET_CPU    x86_64
TARGET_OS     linux-gnu
TARGET_VENDOR pc
VERSION       6.7.8
WEBSITE       http://www.imagemagick.org

Path: [built-in]

Name          Value
-------------------------------------------------------------------------------
NAME          ImageMagick

Re: -annotate behaviour

Posted: 2013-01-15T12:40:44-07:00
by marten
This bug is reproducible on Q32 binaries. With Q16 works as expected