Thanks again. We have one more question. Could You please point out someone (maybe You) who can add this feature to FOP library (creating PS files using ISO-Latin-2 fonts without using any external programms or installing fonts directly on printers etc.) as
we are not familiar enough with PostScript to do this. How much would it cost? Is it possible to achieve in a month time since now? All we need is jar file (or part of it) easily exchangeable with one of 0.20.5 release. Jacek Wójcik -----Original Message----- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 29, 2004 11:52 AM To: [EMAIL PROTECTED] Subject: Re: PS render, fonts, embedding 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]