jawknee / coLab

coLab Project
0 stars 0 forks source link

Add UTF-8 TrueType support #30

Open jawknee opened 10 years ago

jawknee commented 10 years ago

Need to handle 8-bit (at least) better. I've recently added utf-8 comments to the data files and it appears that now the program doesn't crash as much (at least), but the html encoding and TrueType fonts leave much to be desired.

jawknee commented 10 years ago

This should help with the html - two usable methods: http://stackoverflow.com/questions/11205105/how-to-convert-utf8-string-into-html-string-in-python-2-5-for-correct-accent-dis

Using unicode might just fix the truetype - but… I kinda doubt it -seems to be font specific.

jawknee commented 10 years ago

Some more info on utf-8 fonts (DejaVu?) http://code.google.com/p/pyfpdf/wiki/Unicode

jawknee commented 10 years ago

Basic issue is fixed - converting to an enhancement to track adding utf-8 TrueType fongs.