Critical errors using pango?

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
saphyn
Posts: 3
Joined: 2013-01-01T21:13:48-07:00
Authentication code: 6789

Critical errors using pango?

Post by saphyn »

Hoping this isn't just something I overlooked on my end.

Using the very first example

Code: Select all

convert -background lightblue pango:"Anthony Thyssen" pango.gif
from command line returns the errors

Code: Select all

(process:9523): Pango-CRITICAL **: pango_font_description_set_size: assertion `size >= 0' failed
convert: memory allocation failed `Anthony Thyssen' @ error/pango.c/ReadPANGOImage/382.
convert: no images defined `pango.gif' @ error/convert.c/ConvertImageCommand/3078.
Other examples yield similar results.

edit: Sorry, forgot to mention I'm running Arch Linux with ImageMagick version 6.8.0.7 and Pango 1.32.4.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Critical errors using pango?

Post by magick »

We can reproduce the problem you posted and have a patch in ImageMagick 6.8.0-8 Beta available by sometime tomorrow. Thanks.
saphyn
Posts: 3
Joined: 2013-01-01T21:13:48-07:00
Authentication code: 6789

Re: Critical errors using pango?

Post by saphyn »

Thank you for your fast fix.

I've downloaded and installed ImageMagick 6.8.1-8, which has fixed the above problem, but now using example

Code: Select all

 convert -background lightblue -size 150 \
          pango:"Anthony Thyssen is the main author of IM Examples" \
          pango_size.gif
Every word makes a new line, so instead of

Image

I get

Image
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Critical errors using pango?

Post by magick »

Ok, stand by while we investigate.
saphyn
Posts: 3
Joined: 2013-01-01T21:13:48-07:00
Authentication code: 6789

Re: Critical errors using pango?

Post by saphyn »

Just wanted to say I upgraded to the new version 6.8.1-9, and now it seems to be working (no new lines after text).
To get the font the same size as the example, however, I needed to include a single <small> tag.

Thanks.
Post Reply