AW: [reportlab-users] TTFont with german characters

Robin Becker reportlab-users@reportlab.com
Wed, 16 Oct 2002 18:17:37 +0100


In article <FDEJJKLBELAKNCMDIADEGEOCCCAA.Jo-Bader@gmx.de>, Jo-
Bader@gmx.de writes
>Hello Robin,
>
>thanks for your answere,
>now Arial Narrow works fine , but my DaxLight font will not.
>Other prob is how to display german chars from a True Type font.
>
>I get
>tables.py line 671 , in _DrawCell
>UnicodeError :ASCII encoding error: ordinal not in range 128
>
>in rl_config defaultEncoding is set to
>defaultEncoding =           'WinAnsiEncoding'
>
>can you help with this ?
>
>regards
>
>Jo
......

I think that we use UTF-8 encoding, but I'm not the expert on this
that's Marius. I believe that there's a Beispiel in reportlab/test/test_
pdfbase_ttfonts.py which illustrates how to do this.
-- 
Robin Becker