Verakso on wrote...
| Thanks for all the input so far
|
| My mistake, not telling that it is on Windows and commandline, but
| here is what I have tried:
|
| convert -font Verdana-Bold -pointsize 36 label:"FIRST LINE IN BOLD"
| -font Verdana -pointsize 36 label:"Second line \u2022 Normal with
| \u2022 small \u2022 bullets\nLast line: also with \u2022 bullets"
| +append test.gif
|
| As I wrote two things seems to give me problems. One is that I can't
| get the lines in top of each other, with the first line bold. Second
| is the bullets. I don't know why it doesn't work, but now the lines
| come out with \u2022, is there a diffent syntas for using unicode on a
| PC?
|
The \u2022 syntax is for the linux "printf" statement not for IM.
This "printf" converts the \u2022 to the UTF-8 format for the TrueType
library.
Perl can do this too but uses strings like...
perl -e 'binmode(STDOUT, ":utf8"); \
print "\x{6d4b}\x{8bd5}\x{7528}\x{7684}\x{6c49}\x{5b57}\n";'
My raw notes on this is in
http://www.cit.gu.edu.au/~anthony/info/misc/unicode.hints
These notes also explains how the UTF-8 converts between unicode numbers
and UTF-8 strings. (a single characetrs may be 3 bytes long!)
NOTE all this is seperate to the chinese gb2312 encoding which
uses two bytes (the first being a meta-character) to encode 16 bit
characters for chinese web pages and documents (pre-dates unicode).
For that you can use "iconv" to convert...
iconv -f gb2312 -t utf8 text.gb > tex.utf8
But iconv often 'bombs' if the text is for some reason trashed at a
single character.
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
The SUN was afraid of the dark, so it never appeared before day came.
Piers Anthony - "Ogre, Ogre" (Xanth series)
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users