OS specific text clipping bug
Posted: 2016-12-09T22:40:18-07:00
Okay so this command here
Renders incorrectly as the 'G' at the beginning of the image is cut off a bit. I posted this as a question a while ago. Here is that forum. The original post on that forum includes a download link for that font I am required to use.
https://www.imagemagick.org/discourse-s ... =1&t=31017
Here is what I, including the awesome members of this community, have narrowed down. The issue is specific to the font I am using (although I only tried using like 5 others so I could be wrong). I have tried all forms of escaping the exclamation point and nothing worked. The problem is specific to the OS. The issue manifests in Windows 10 Pro but not in Linux. I don't think that the issue is specific to the variant of ImageMagick as both the 'Win64 dynamic at 16 bits-per-pixel component' and 'Win64 static at 16 bits-per-pixel component' both manifest the issue.
I am using the newest version of ImageMagick on Windows. In Linux, I opened the terminal and typed in sudo apt-get install imagemagick. I'm guessing that command downloads and installs the newest version (I am not too familiar with Linux).
In case you are wondering what Linux distro I am using, I am not. I simply installed the 'Windows subsystem for Linux' package from within Windows and that allows me to use bash from within command prompt.
Code: Select all
magick -background none -fill #000000 -font H:\python27\fonts\BW-penn.ttf -size x90 -gravity center label:"GO TIGERS!" asdf.png
https://www.imagemagick.org/discourse-s ... =1&t=31017
Here is what I, including the awesome members of this community, have narrowed down. The issue is specific to the font I am using (although I only tried using like 5 others so I could be wrong). I have tried all forms of escaping the exclamation point and nothing worked. The problem is specific to the OS. The issue manifests in Windows 10 Pro but not in Linux. I don't think that the issue is specific to the variant of ImageMagick as both the 'Win64 dynamic at 16 bits-per-pixel component' and 'Win64 static at 16 bits-per-pixel component' both manifest the issue.
I am using the newest version of ImageMagick on Windows. In Linux, I opened the terminal and typed in sudo apt-get install imagemagick. I'm guessing that command downloads and installs the newest version (I am not too familiar with Linux).
In case you are wondering what Linux distro I am using, I am not. I simply installed the 'Windows subsystem for Linux' package from within Windows and that allows me to use bash from within command prompt.