Removing the "embed-font" attribute results in an error. Removing the entire <font> tag is making the Serializer ignore the font altogether, thus embedding default font.
Thanks Satih -----Original Message----- From: Jeremias Maerki [SMTP:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 1:03 PM To: [EMAIL PROTECTED] Subject: Re: Embedding fonts - works from command line FOP but not in Coco on 2 > The user config file is getting loaded (seen this in the log file). But for > some reason, the font is not getting embedded. > > I have a question on the way fonts are treated in FOP. Other pdf generators > allow us to specify whether fonts need to be embedded or referenced in the > pdf file. If referenced, the font file should be available to Acrobat Reader > on the rendering machine. If embedded, the font file will be part of the pdf > file. Is this possible with FOP? If this is possible, my requirement will > be met. Well, in that case you just have to remove the "embed-file" attribute of the font entry in user-config.xml. That's it. Cheers, Jeremias Märki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Fon +41 41 317 20 20 - Fax +41 41 317 20 29 Internet http://www.outline.ch --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] ************************************************************************** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]