#983194 imagemagick: broken canvas height autosizing for labels

Package:
imagemagick
Source:
imagemagick
Description:
image manipulation programs -- binaries
Submitter:
Tomáš Szaniszlo
Date:
2021-04-02 09:24:02 UTC
Severity:
normal
#983194#5
Date:
2021-02-20 22:08:04 UTC
From:
To:
Dear maintainer,

it looks like that probably after an upgrade from 8:6.9.11.24+dfsg-1+b2 to
8:6.9.11.60+dfsg-1 this stopped working correctly:

    $ convert -verbose label:text out.jpg
    label:text=>text LABEL 20x1 20x1+0+0 16-bit sRGB 0.070u 0:00.082
    label:text=>out.jpg LABEL 20x1 20x1+0+0 16-bit GrayscaleAlpha Gray 186B 0.010u 0:00.000

The problem is that the image has 1px height, so canvas autosizing for labels
is broken for height. However, for width it seems to be ok.

#983194#10
Date:
2021-04-02 09:20:23 UTC
From:
To:
I’m experiencing the same issue.
Downgrading just imagemagick-6-common fixes it, and the changes in 8:6.9.11.57+dfsg-1 are what introduces the issue.
The change appears to be specifically the addition of <include file="type-urw-base35.xml" /> to /etc/ImageMagick-6/type.xml, manually removing will also fix.