hello everyone,
I stumbled about problems rendering a font using rmagick and first asked for help in the rmagick help forum @ rubyforge. after some friendly help from tim hunter (who pointed out to do a convert test) we decided that the error seems to come from ImageMagick.
I'll link the thread to shorten things up. I hope that won't be considered as rude:
http://rubyforge.org/forum/forum.php?th ... orum_id=33
The short version:
i use: bd plakatbau -> http://www.typedifferent.com/1995/index.html (which works fine under windows) to render a font with annotate. but instead of rendered letters i only get those "squares" that you usally get when symbols are not within the "base" of the font.
my imagemagick version number is: "6.3.6 11/15/07" it runs under linux.
any help is highly appreciated.
ttf & imagemagick
Re: ttf & imagemagick
hm perhaps i wasn't concrete enough:
another approach:
i'll tell the shortest way to produce the strange behaviour:
1) download bd plakatbau font ( http://www.typedifferent.com/1995/index.html )
2) test to see yourself that letters a-z are included in the font
3) convert -font <path-to-font> label:abcdef test.gif
4) see the squares
i continued googeling around and worked myself through the forum ... still found nothing that would help (or explain) :/
another approach:
i'll tell the shortest way to produce the strange behaviour:
1) download bd plakatbau font ( http://www.typedifferent.com/1995/index.html )
2) test to see yourself that letters a-z are included in the font
3) convert -font <path-to-font> label:abcdef test.gif
4) see the squares
i continued googeling around and worked myself through the forum ... still found nothing that would help (or explain) :/
Re: ttf & imagemagick
We have added this problem to our bug tracking database and will report back as soon as we have a resolution.
Re: ttf & imagemagick
Any news? If this is a non-trivial bug I'll look for some workaround.
Re: ttf & imagemagick
The problem is that the fonts known to ImageMagick have a proper encoding set, but with an external font the -encoding option is not passed to the label encoder. We will have a fix for this problem in the next point release. Specify the encoding like this: -encoding AppleRoman. The default is Unicode encoding.