Author |
Rouvas Stathis, <rouvas@di.uoa.gr> http://www.di.uoa.gr/~rouvas University of Athens Dept.of Informatics |
Date | 13/06/2003 |
Problem |
PDF and PostScript files created did not contain Greek chars OS : Linux (SuSE.8.0) I have no idea whether this problem exists in Windows or if the solution presented here is usable or even appropriate |
Software | htmldoc-1.8.23 on Linux (SuSE.8.0) |
Solution |
Replace HTMLDOC fonts with those extracted from this file. PDF files are created OK. |
Usage | htmldoc [options] --charset iso-8859-7 [file|URL] |
Resources used |
|
Description |
Creating PDF documents containing Greek chars was not possible as the PDF file did not contain
any Greek characters. Creating necessary .afm anf .pfa files from .ttf ones using ttf2pt1, for example ttf2pt1 -a -e arial.ttf and renaming resulting arial.afm , arial.pfa to
Helvetica.afm and Helvatica.pfa , solved the problem.Doing the same for Times and Courier, completed the set. As a sideffect, the supplied .tar.gz file contains mappings for all languages contained in the original .ttf files not only for Greek characters. I haven't verified usability in other languages, but I suspect there should be no problems. I haven't tested the PostScript generation process. |
Installation Instructions |
|