RE: Embedding fonts - works from command line FOP but not in Coco on 2

2002-02-18 Thread Satish_Gunda
, 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

Re: Embedding fonts - works from command line FOP but not in Coco on 2

2002-02-18 Thread Jeremias Maerki
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. Not embed-font, embed-file! And what error? What does your userconfig.xml look like? Don't remove the metrics-file attribute.

RE: Embedding fonts - works from command line FOP but not in Coco on 2

2002-02-18 Thread Satish_Gunda
PROTECTED] Subject:Re: Embedding fonts - works from command line FOP but not in Coco on 2 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

Re: Embedding fonts - works from command line FOP but not in Coco on 2

2002-02-18 Thread Jeremias Maerki
This looks good. I wonder where the string - error comes from. You've probably double-checked that the userconfig.xml can be loaded from where you're running Cocoon. I don't have any more ideas other than to debug it. Sorry. Does anybody else have an idea? Sorry for misquoting. I actually meant

RE: Embedding fonts - works from command line FOP but not in Coco on 2

2002-02-18 Thread Satish_Gunda
-triplet); } } -Original Message- From: Jeremias Maerki [SMTP:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 6:21 PM To: [EMAIL PROTECTED] Subject:Re: Embedding fonts - works from command line FOP but not in Coco on 2

RE: Embedding fonts - works from command line FOP but not in Coco on 2

2002-02-18 Thread Satish_Gunda
To: [EMAIL PROTECTED] Subject:RE: Embedding fonts - works from command line FOP but not in Coco on 2 I managed to generate the PDF finally (without embedding the font). The font we referred to is OCR-B-1. But Acrobat Reader displays illegible characters

RE: Embedding fonts - works from command line FOP but not in Coco on 2

2002-02-17 Thread Satish_Gunda
[SMTP:[EMAIL PROTECTED]] Sent: Saturday, February 16, 2002 11:25 PM To: [EMAIL PROTECTED] Subject:Re: Embedding fonts - works from command line FOP but not in Coco on 2 Well, I'm no Cocoon-user. I just happen to have looked at the source code

Re: Embedding fonts - works from command line FOP but not in Coco on 2

2002-02-17 Thread Jeremias Maerki
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

Re: Embedding fonts - works from command line FOP but not in Coco on 2

2002-02-16 Thread Jeremias Maerki
Well, I'm no Cocoon-user. I just happen to have looked at the source code once or twice. Try to modify the logging configuration of Cocoon so it displays debug messages from FOPSerializer.java. It may help you to find out what really happens (for example if the user config could be loaded or

Re: Embedding fonts - works from command line FOP but not in Cocoon 2

2002-02-15 Thread Jeremias Maerki
You have to specify your user-config file. Look at the javadocs of org.apache.cocoon.serialization.FOPSerializer. From the javadocs... * The use of a config file for FOP is enabled by adding a configuration * element to the serializer in the sitemap. * user-config

RE: Embedding fonts - works from command line FOP but not in Cocoon 2

2002-02-15 Thread Satish_Gunda
Message- From: Jeremias Maerki [SMTP:[EMAIL PROTECTED]] Sent: Saturday, February 16, 2002 12:04 AM To: [EMAIL PROTECTED] Subject: Re: Embedding fonts - works from command line FOP but not in Cocoon 2 You have to specify your user-config file. Look at the javadocs

Re: Embedding fonts in FOP

2002-01-16 Thread Polly Tsang
Maybe you can try the following setting: font metrics-file=file:///E:/mypath/bembo.xml embed-file=E:\mypath\bembo___.pfb kerning=yes font-triplet name=Bembo style=normal weight=normal/ /font At 12:21 PM 2002/1/16 -0600, you wrote: I'm using the userconfig file in a servlet,

RE: Embedding fonts

2001-08-29 Thread Brigette Muller
You could first check that the font really did get embedded in the PDF. Open the PDF (I use acrobat reader) and do File/Document Properties/Fonts Is the font you expect really embedded (look in the ActualFont column). If it did not, check that fop has access to the font file - you may?? need to

Re: Embedding fonts

2001-08-29 Thread Tore Engvig
On Wed, 29 Aug 2001, Drew Hodge wrote: I have successfully created new XML font metrics files using the PFMReader utility in FOP 0.20.1. I run FOP specifying the new fonts in my userconfig file as follows !-- Syntax-Roman -- font metrics-file=..\jar\Fop-0.20.1\fonts\syntax_roman.xml

Re: embedding fonts using xml-font-files and userconf.xml

2001-08-13 Thread Tore Engvig
On Mon, 13 Aug 2001, Matthias Born wrote: hi! i've got problems embedding fonts. [snip] i configured the userconfig in the conf-directory in the following way: fonts font metrics-file=zurich.xml kerning=yes embed-file=zurich.ttf font-triplet