[reportlab-users] russian language as a text
Fri, 23 Aug 2002 09:17:11 +0100
> Hello reportlab-users,
> Can anybody explain me what I have to do to use russian
> language as a
> text in my pdf files?
> drawString(x, y, "text") with "text" in russian language draws some
> strange symbols.
> Your help is very appreciated.
> Best regards,
> alienoid mailto:email@example.com
You need to embed a font which contains Russian characters.
You can either use Type 1 fonts or TrueType. Then you
need to make sure your string is in the same encoding as
the font you have selected. See the 'fonts and encodings'
section of the user guide.
This works for terrestrial fonts. For alienoid
ones you are on your own :-)
p.s. Dragan, this is a good one for the FAQ...