[reportlab-users] Unicode for tables

Andy Robinson andy at reportlab.com
Wed Dec 20 01:07:27 EST 2006

anu radha wrote:

> Hi Andy,


> I tried with comic.ttf. I got PDF file with correct characters for greek.


> fontname1 = 'cs'

> my_location_of_TTF = Installed directory '\\Fonts\\comic.ttf'

> pdfmetrics.registerFont(TTFont(fontname1,my_location_of_TTF))


> How can we know which language support which ttf file?

> Is there any specifications for that? Please help me.


Just van Rossum's FontTools can convert a font to an XML representation
where you see the character names. Also if you type "Font viewer" into
Google there seem to be lots of tools.

Hope this helps,

- Andy

More information about the reportlab-users mailing list