Issue with rendering text with exclamation point at the end

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
User avatar
GeeMack
Posts: 718
Joined: 2015-12-01T22:09:46-07:00
Authentication code: 1151
Location: Central Illinois, USA

Re: Issue with rendering text with exclamation point at the end

Post by GeeMack »

After testing this issue several ways it does seem to be a bug. I added a thread to the Bugs section. You can find it at THIS link.
GarbageSauce
Posts: 23
Joined: 2016-12-08T19:43:17-07:00
Authentication code: 1151

Re: Issue with rendering text with exclamation point at the end

Post by GarbageSauce »

Here is the result of the above line.

http://i66.tinypic.com/nov9fp.png
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Issue with rendering text with exclamation point at the end

Post by fmw42 »

Does this work?

Code: Select all

magick -background none -fill #000000 -font H:\python27\fonts\BW-penn.ttf -size x90 -gravity center label:"GO TIGERS!" asdf.png
or

Code: Select all

magick -background none -fill #000000 -font H:\python27\fonts\BW-penn.ttf -size x90 -gravity center label:"GO TIGERS\!" asdf.png
GarbageSauce
Posts: 23
Joined: 2016-12-08T19:43:17-07:00
Authentication code: 1151

Re: Issue with rendering text with exclamation point at the end

Post by GarbageSauce »

Nope.

So some of you are saying that the font's Glyph set is bad. Bad how? If I download a stupid little program to edit the glyphs, what would I need to change in order to fix the problem?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Issue with rendering text with exclamation point at the end

Post by fmw42 »

If it fails with multiple usual fonts such as Arial, Times, Helvetica, etc. Then it is not like just one fonts set of glyphs. Do you have trouble with other fonts in the same way with the !? Is your freetype delegate library up to date? Perhaps update it or re-install it and try again or perhaps re-install IM as well.

Does it fail with the latest IM 6?

Are you using standard Windows 10 or the new unix capability in Windows 10?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Issue with rendering text with exclamation point at the end

Post by fmw42 »

Do other Windows (10) users have this same issue with the ! symbol?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Issue with rendering text with exclamation point at the end

Post by snibgo »

I think GeeMack has nailed the problem, which isn't specific to a font, nor to the final character being "!". In my tests, having "i" as the final character shows the problem.

(IM v7.0.3-5 on Windows 8.1)
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Issue with rendering text with exclamation point at the end

Post by fmw42 »

So it seems to be a windows issue, since it does not happen on my Mac. I don't know about other Linux systems.
GarbageSauce
Posts: 23
Joined: 2016-12-08T19:43:17-07:00
Authentication code: 1151

Re: Issue with rendering text with exclamation point at the end

Post by GarbageSauce »

Okay so I installed the Windows subsystem for Linux which enables me to use bash from within command prompt. I ran the command from there WITHOUT escaping the exclamation point and it works great. The G is no longer being cut off. I am officially clueless on why this is specific to different OS's.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Issue with rendering text with exclamation point at the end

Post by fmw42 »

Glad you have at least pinned it down. The IM developer will need to look into this. I suggest you post to the bugs forum and put a link there back to this topic.
GarbageSauce
Posts: 23
Joined: 2016-12-08T19:43:17-07:00
Authentication code: 1151

Re: Issue with rendering text with exclamation point at the end

Post by GarbageSauce »

Alright. Will do. Thanks for all the help guys!
Post Reply