Bad fonts, no error?
Posted: 2008-12-27T08:27:28-07:00
Should bad fonts give no error but still generate an image?
I grabbed these two TTF's:
http://www.getfreefonts.info/free_font.almontesnow.html
http://www.getfreefonts.info/free_font.altea.html
Following Anthony's scripts, I tried
convert -background lightblue -fill blue -font almosnow.ttf -pointsize 72 label:Samantha almosnow-pointsize.png
and
convert -background lightblue -fill blue -font altea.ttf -pointsize 72 label:Samantha altea-pointsize.png
The first worked well but the second gave a 776x1 "one-dimensional" result. What the foo? Is there a detectable error that should be reported? (I'm presuming that this is a font bug and not an IM bug.)
When -size was stipulated, both worked properly.
convert -background lightblue -fill blue -font almosnow.ttf -size 360x100 -gravity center label:Samantha almosnow-size.png
convert -background lightblue -fill blue -font altea.ttf -size 360x100 -gravity center label:Samantha altea-size.png
Rick
I grabbed these two TTF's:
http://www.getfreefonts.info/free_font.almontesnow.html
http://www.getfreefonts.info/free_font.altea.html
Following Anthony's scripts, I tried
convert -background lightblue -fill blue -font almosnow.ttf -pointsize 72 label:Samantha almosnow-pointsize.png
and
convert -background lightblue -fill blue -font altea.ttf -pointsize 72 label:Samantha altea-pointsize.png
The first worked well but the second gave a 776x1 "one-dimensional" result. What the foo? Is there a detectable error that should be reported? (I'm presuming that this is a font bug and not an IM bug.)
When -size was stipulated, both worked properly.
convert -background lightblue -fill blue -font almosnow.ttf -size 360x100 -gravity center label:Samantha almosnow-size.png
convert -background lightblue -fill blue -font altea.ttf -size 360x100 -gravity center label:Samantha altea-size.png
Rick