Lino Website


prn2pdf renders box characters

Saturday, 21. October 2006 9:19. now renders box characters correctly. Thanks to Reportlab 2.0. It also needs a TrueType Courier font (files cour*.ttf) and thus won't probably work on Linux.

Here is the now obsolete description of the problem which is now solved:

The box characters of codepage 437 or 850 are not correctly rendered. They should look...
│ this │

But currently they are replaced by +, - and | and look...

| this |

These box characters which are often used by DOS applications exist in Unicode, but I don't know how much work it is to convert them correctly to PDF.

Tested on the files in tests/testdata/textprinter. Todo:

Refering articles:

Copyright 2001-2007 Luc Saffre.
Generated 2007-06-07 16:22:51