Hello!
I have a first try of a patch that adds the ability to print international 
character in postscript output. The patch applies to C sources of libgeda 
20050820 release. It does searches the page being printed for Utf-8 coded 
characters then creates remapped postscript font and modifies the strings 
sent to postscript file to use the mapping. Some ideas on font  remapping in 
postscript were taken from a2ps.

The number of international characters is limited to 160. This is due to 
limitation to single postscript page (256 characters). West european 
languages (latin1) and polish should be covered 

Currently the table of character names is stored in the code. It should be 
better to create such table when the vector font is read in (at program 
startup or when needed?). To do this, each font definition file should 
include character name (as ntilde in file n_-tilde.sym). I am planing to do 
this but this requires some time to analyze the existing code.

Wojciech Kazubski

Attachment: utf-print.tar.gz
Description: application/tgz

Reply via email to