Page 1 of 1

ttf & imagemagick

Posted: 2008-01-09T16:16:56-07:00
by sequence
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.

Re: ttf & imagemagick

Posted: 2008-01-11T05:28:55-07:00
by sequence
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) :/

Re: ttf & imagemagick

Posted: 2008-01-11T08:50:27-07:00
by magick
We have added this problem to our bug tracking database and will report back as soon as we have a resolution.

Re: ttf & imagemagick

Posted: 2008-01-11T09:10:56-07:00
by sequence
Thank you for the response. I stay tuned.

Re: ttf & imagemagick

Posted: 2008-01-31T13:00:59-07:00
by sequence
Any news? If this is a non-trivial bug I'll look for some workaround.

Re: ttf & imagemagick

Posted: 2008-08-05T07:32:55-07:00
by sequence
Might this problem got lost in the bug tracking database?

Re: ttf & imagemagick

Posted: 2008-08-05T11:51:56-07:00
by magick
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.

Re: ttf & imagemagick

Posted: 2008-08-11T09:29:51-07:00
by sequence
Ok. I'll give it a try. Thank you.