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
fontList.addElement(fontInfo);
fontTriplets = null;
metricsFile = null;
embedFile = null;
fontName = null;
kerningAsString = "";
} else
{
s1.equals("font-triplet");
}
}
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
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
&
> 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
: 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
> 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
[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
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).
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
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
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
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
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
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
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
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
17 matches
Mail list logo