i wrote mail to Thomas Boutell
and i got some answer.
question:
>
> i want to ask for iso-8859-2 support in gdlib.
> can i use all fonts which contains this characters?
> i use gnuplot ang png terminal for some images and i
need to include accented characters.
> but if i use own font (which have latin-2 chars) this
not working.
> thanks for ansver
answer:
If you are using the freetype routines
(gdImageStringFT) and fonts that support iso-8859-2 it
should work fine.
Thomas Boutell
i think that gnuplot using that routines, isn't it?
so have you any other advice for me.
thank you
Logged In: YES
user_id=235620
The problem is that I'm afraid Thomas Boutell does not
understand character encodings, which is why his program
doesn't understand them either. If you can find, or
construct, a font for which iso-8859-2 encoding is the
primary encoding (e.g. the first one in the list) then gd
will use it. Otherwise I am afraid it's not going to work.
I say this as the guy who already had to construct a patch
for libgd to make it handle symbol encodings as a special case.
Your other option is to use unicode (UTF-8). Unicode fonts
do work with libgd. This would be a way of getting the
characters you need, but it would not be Latin-2 encoding.
Logged In: NO
OK,
but how i set gnuplot to unicode encoding?
in encoding option are only
iso_8859_1, iso_8859_2, iso_8859_15, cp850, cp852, cp437, koi8r