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 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. The font type

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

2002-02-18 Thread Satish_Gunda
fontList.addElement(fontInfo); fontTriplets = null; metricsFile = null; embedFile = null; fontName = null; kerningAsString = ""; } else { s1.equals("font-triplet"); } }

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 mea

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

2002-02-18 Thread Satish_Gunda
Thanks Satish -Original Message- From: Jeremias Maerki [SMTP:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 4:26 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 Jeremias Maerki
> Removing the "embed-font" attribute results in an error. Removing the entire > 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" attrib

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

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

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. I

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

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 not).

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

2002-02-15 Thread Satish_Gunda
Original 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

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. * * note the path to the config file has

Re: Embedding fonts in FOP

2002-01-16 Thread Polly Tsang
Maybe you can try the following setting: At 12:21 PM 2002/1/16 -0600, you wrote: >I'm using the userconfig file in a servlet, which creates a similar >problem. By embedding the full path on the metrics-file and the >embeded-file I got good results. My config file is in the sam

Re: Embedding fonts

2001-08-30 Thread Drew Hodge
Thanks very much Tore -- embedding the .pfb file solved the problem. Drew -- On Wed, 29 Aug 2001 22:32:58 Tore Engvig wrote: > > >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 specify

RE: Embedding fonts

2001-08-30 Thread Drew Hodge
Thanks Brigette. According to the File/Document/Properties/Fonts dialog, my new fonts are being embedded (they're listed under 'Actual fonts'), but Acrobat Reader warns me that it had difficulty extracting the embedded fonts when I open a page that has the new fonts. The page displays correct

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 > > > embed-file="C:\WINNT\Fonts\Sxr_.pfm"> > > > > The resulting PDF correc

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 u

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: > > > > > > [snip] > WARNING: unknown font Zurich,n