rik@dbf.kun.nl (Rik Fleuren) (06/21/91)
My copy of Freedom of Press Light 2.5 for the PC came with the manual for version 2.2. I don't expect to have a new one very soon here in Holland, but maybe someone on the net can help me answer the following questions. 1) FoP is advertised as "ATM-compatible", but as far as I can see, there is no way to use binary fonts (.PFB). I have to translate them to a hexadecimal form with PCSEND. That takes an enormous amount of disk space: The fonts are bigger than the binary .PFB files and I need two copies of each font (ATM only knows the binary form). How can I use the binary ATM fonts? 2) Is there a nice way to let FoP automaticaly load fonts when findfont can't find them? I have put the following piece of code in the startup file. It works, but when the input has save and restore commands around every page, the fonts only stay in the memory until the end of the page. % % Get names of type 1 font files % The file fontmap.ini defines a dictionary that defines a string % pointing to the font file on disk for every font. It is a simplified % version of the Ghostscript file "Fontmap". % Example line (.pf0 is the hex version of the .pfb): % /Helvetica (c:\\psfonts\\hv______.pf0) def % (c:\\freedom\\outlines\\fontmap.ini) run % % findfont replacement % /ORGff /findfont load bind def /findfont { dup FontDirectory exch known not { dup FontMap exch known { dup FontMap exch get run } if } if ORGff } def GhostScript uses something like this, but I don't know enough about Postscript (actually, almost nothing at all) to see how it works. If it is possible to load the fonts this way, is there also a way to tell FoP not to use its own (not original Adobe) fonts? 3) How do I write text to the screen? 'print' and '==' don't work, but when an error occurs, FoP can write a message surrounded by '%%[' and ']%%' to the bottom line of the screen. Can I redirect the standard output to a disk file? Rik -- ---- Rik Fleuren *** rik@sci.kun.nl *** U605008@HNYKUN11.BITNET *** +31 80 612744