From: Andrew Dunbar (firstname.lastname@example.org)
Date: Sun Aug 18 2002 - 02:35:02 EDT
> I also forgot that I didn't see a way to pass a
> unicode string to IM's Drawable class, or even a
> string with an associated encoding (eg ISO-8859-2
> or UTF-8) which would be an acceptable work-around.
> I'll see what I can do about this.
For some reason this interested me so I looked through
ImageMagick and there is support for text encodings
but the support is not carried through to the C++
magick/draw.c needs a function "DrawSetEncoding"
and Magick++/lib/Drawable.cpp needs a member function
we would then need a line like:
pushDrawable ( Magick::DrawableEncoding ( "UTF-8" ) )
in GR_MagickGraphics::newCanvas probably just before
we call Magick::DrawableFont
or some variation along these lines. In any case we
need to add a little to ImageMagick that'll be useful
By the way, it looks like ImageMagick uses the locale
setting to decide the default encoding of the string
which may be UTF-8. But this may depend on other
Hope this proves of some use (: Andrew.
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
This archive was generated by hypermail 2.1.4 : Sun Aug 18 2002 - 02:38:24 EDT