ttf & imagemagick

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
sequence

ttf & imagemagick

Post 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.
sequence

Re: ttf & imagemagick

Post 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) :/
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: ttf & imagemagick

Post by magick »

We have added this problem to our bug tracking database and will report back as soon as we have a resolution.
sequence

Re: ttf & imagemagick

Post by sequence »

Thank you for the response. I stay tuned.
sequence

Re: ttf & imagemagick

Post by sequence »

Any news? If this is a non-trivial bug I'll look for some workaround.
sequence

Re: ttf & imagemagick

Post by sequence »

Might this problem got lost in the bug tracking database?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: ttf & imagemagick

Post 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.
sequence

Re: ttf & imagemagick

Post by sequence »

Ok. I'll give it a try. Thank you.
Post Reply