Bug 1842599

Summary: Text rendering is broken
Product: [Fedora] Fedora Reporter: Joshua Roys <roysjosh>
Component: ImageMagickAssignee: Michael Cronenworth <mike>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: fedora, mike, pahan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ImageMagick-6.9.11.22-1.fc32 ImageMagick-6.9.11.22-1.fc31 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-09 01:04:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joshua Roys 2020-06-01 16:11:26 UTC
Description of problem:
Many text rendering examples from IMs own site are broken, e.g. http://www.imagemagick.org/Usage/text/#label_lines . My particular use case is converting text to PBM format for a label printer. AFAICT IM is only rendering the top line of pixels.


Version-Release number of selected component (if applicable):
ImageMagick-6.9.10.86-1.fc31.x86_64


How reproducible:
Execute an example from the IM link above, e.g.
    convert -background lightblue  -fill blue  -font Ravie -pointsize 20 \
        label:'ImageMagick\nRules - OK!'     label_multiline.gif
I had to remove the font argument as that particular font wasn't installed on my machine.

Alternatively, my script is:
echo LABEL TEXT | convert -size x64 label:@- -font Courier -rotate 270 -gravity center -compress none pbm:- | tail -n +3 | tr -d ' '
This usually outputs 0s and 1s in a vertical representation of the label, 64 digits wide.


Actual results:
$ convert -size x64 label:HI -font Courier -rotate 270 -gravity center -compress none pbm:- | tail -n +3 | tr -d ' '
0
0
1
0
0
1
0
0
0
0
0
1
0


Expected results:
Something like...
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000101010110010101011001100101010110010101011000000000000000
0000011111111111111111111111111111111111111111111110000000000000
0000011111111111111111111111111111111111111111111100000000000000
0000011111111111111111111111111111111111111111111110000000000000
0000011111111111111111111111111111111111111111111100000000000000
0000011111111111111111111111111111111111111111111110000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000000000000000000000000001111100000000000000000000000000000000
0000011111111111111111111111111111111111111111111100000000000000
0000011111111111111111111111111111111111111111111110000000000000
0000011111111111111111111111111111111111111111111110000000000000
0000011111111111111111111111111111111111111111111100000000000000
0000011111111111111111111111111111111111111111111110000000000000
0000011111111111111111111111111111111111111111111100000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000001010101010101010101010100101010101010101010100000000000000
0000011111111111111111111111111111111111111111111110000000000000
0000011111111111111111111111111111111111111111111110000000000000
0000011111111111111111111111111111111111111111111100000000000000
0000011111111111111111111111111111111111111111111110000000000000
0000011111111111111111111111111111111111111111111110000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000

Comment 1 Fedora Update System 2020-06-05 17:21:20 UTC
FEDORA-2020-919dfa6b5f has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-919dfa6b5f

Comment 2 Fedora Update System 2020-06-05 17:23:23 UTC
FEDORA-2020-dd40c160dd has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-dd40c160dd

Comment 3 Fedora Update System 2020-06-07 21:44:46 UTC
FEDORA-2020-dd40c160dd has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-dd40c160dd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-dd40c160dd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2020-06-08 01:46:20 UTC
FEDORA-2020-919dfa6b5f has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-919dfa6b5f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-919dfa6b5f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2020-06-25 23:24:07 UTC
FEDORA-2020-919dfa6b5f has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-919dfa6b5f

Comment 6 Fedora Update System 2020-06-25 23:24:29 UTC
FEDORA-2020-dd40c160dd has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-dd40c160dd

Comment 7 Fedora Update System 2020-06-26 01:25:20 UTC
FEDORA-2020-919dfa6b5f has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-919dfa6b5f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-919dfa6b5f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2020-06-26 01:30:05 UTC
FEDORA-2020-dd40c160dd has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-dd40c160dd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-dd40c160dd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2020-06-29 14:45:49 UTC
FEDORA-2020-919dfa6b5f has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-919dfa6b5f

Comment 10 Fedora Update System 2020-06-29 14:46:13 UTC
FEDORA-2020-dd40c160dd has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-dd40c160dd

Comment 11 Fedora Update System 2020-06-30 00:54:51 UTC
FEDORA-2020-dd40c160dd has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-dd40c160dd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-dd40c160dd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2020-06-30 01:12:52 UTC
FEDORA-2020-919dfa6b5f has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-919dfa6b5f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-919dfa6b5f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2020-06-30 20:28:30 UTC
FEDORA-2020-919dfa6b5f has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-919dfa6b5f

Comment 14 Fedora Update System 2020-06-30 20:58:19 UTC
FEDORA-2020-dd40c160dd has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-dd40c160dd

Comment 15 Fedora Update System 2020-07-01 02:09:35 UTC
FEDORA-2020-dd40c160dd has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-dd40c160dd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-dd40c160dd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2020-07-01 02:18:47 UTC
FEDORA-2020-919dfa6b5f has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-919dfa6b5f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-919dfa6b5f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2020-07-09 01:04:51 UTC
FEDORA-2020-919dfa6b5f has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2020-07-09 01:06:05 UTC
FEDORA-2020-dd40c160dd has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.