On 29.09.2004 11:24:43 Jacek Wojcik wrote:
> Thank You for Your quick answer. Installing fonts on printers is not 
> convenient way for us to solve this problem due to many clients and many
> 
> different printers they have to print to.
> Is there any way You could help us correcting this problem directly in 
> FOP libraries? Which classes/methods should be modified. 

The PS renderer is in the org.apache.fop.render.ps package. The class to
modify is primarily PSRenderer. The method where currently the fonts are
set up is writeFontDict(FontInfo). That's where you can probably add
code to embedd the font program. I don't know how much you are familiar
with PostScript and TrueType fonts but you should be aware that TrueType
can only be embedded in PostScript programs since Level 3. So you will
also need to check if your printer supports PostScript Level 3.
Otherwise you'll have to switch to Type 1 fonts.

To embed a TrueType font a Type 42 font dictionary has to be created
containing the font file. See chapter 5.8.2 in PostScript Language
Reference, third edition.

> If no, please 
> tell us when we can expect the FOP release containing PS font embeding.

There's currently no release date in sight.


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to