You didn't say what FOP version you're using. Have you tried the latest
FOP release?
On 06.12.2010 11:05:27 alexander.reel...@lusini.com wrote:
Hi all,
I have a problem extracting the text content of a pdf created with fop using
custom fonts.
The fonts have been added to the fop.xconf
Are you printing PDF from Acrobat Reader? If yes, please see:
http://xmlgraphics.apache.org/fop/faq.html#pdf-print-contortion
On 06.12.2010 22:13:13 joe armstrong wrote:
Hello,
I'm trying to understand page layouts in apache fop. I have set a page width
of 21 cm and margin-left +
John,
I still think this is a class loading problem. You didn't say what kind
of server you're using. If, for some reasons, that server unpacks all
application JARs into a commons local directory and loads the classes
from there, it could possibily be so that Barcode4J's
If you don't know the sizes of the images at design time, you'd probably
have to write an XSLT plug-in that would pre-load the image using the
image loading framework from Apache XML Graphics Commons. This should be
quite fast at runtime but possibly not so quick to implement.
On 03.12.2010
Hi,
You should check your printer settings:
did you uncheck the [scale to print] option?
Le 06/12/2010 22:13, joe armstrong a écrit :
I'm trying to understand page layouts in apache fop. I have set a page width
of 21 cm and margin-left + margin-right to 5 cm, so I should get 16 cm of
content.
Hi everybody,
Since nobody yet provided an answer, let's make it easier to debug. Here are a
really short xml and a really short and simple transformation. The call to fop
is
org.apache.fop.cli.Main -d -xml test/xml/billing.xml -xsl test/xsl/billing.xslt
-pdf c:\temp\test2.pdf
Fop version
That would be because your document is empty. Am I missing something here?
This is the entire text of the xml you attached:
ROOT/ROOT
-Original Message-
From: Georg Datterl [mailto:georg.datt...@geneon.de]
Sent: Tuesday, December 07, 2010 9:30 AM
To: fop-users@xmlgraphics.apache.org
Hi Eric,
Indeed, the xml is nearly empty, but I'd expect a one-page document with one
flow and one block inside.
Regards,
Georg Datterl
-- Kontakt --
Georg Datterl
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry
That seems a strange thing to do but yes that works fine. FOP just doesn't
like html in the xslt.
Replace all lt; with and you get an empty document.
-Original Message-
From: Georg Datterl [mailto:georg.datt...@geneon.de]
Sent: Tuesday, December 07, 2010 10:08 AM
To:
If I may jump in here, I think it's more fundamental. I don't believe the XML
standard allows using entities as a part of start and end tags like that.
Eric Amick Systems Engineer II
Legislative Computer Systems
-Original Message-
From: Eric Douglas [mailto:edoug...@blockhouse.com]
Hi Eric,
You are right. But. Of course there's a but...
Let me expand my transformation a little bit:
?xml version=1.0 encoding=UTF-8?
xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xsl:variable name=A4_HEIGHT select='297mm'/
xsl:template match=ROOT
I think you're a bit confused.
1) FOP doesn't complain about anything. My response included the corrected
xslt along with a PDF I got from FOP with it.
2) I'm not sure what you mean by valid xml. Your xml file is a valid xml.
Your xslt file is not xslt if it contains any fo. If you fix the
Hi Eric,
I think you're a bit confused.
Oh yes.
1) FOP doesn't complain about anything. My response included the corrected
xslt along with a PDF I got from FOP with it.
I'm not quite sure WHO exactly complains. The original xslt (with lt;) works
fine if I use it to transform the xml
On 12/07/2010 11:43 AM, Georg Datterl wrote:
I'm not quite sure WHO exactly complains. The original xslt (with
lt;) works fine if I use it to transform the xml file. It generates
a fo-file which I can then transform into a pdf. The corrected xslt
works fine, if I don't use more complex
Hi Chris,
I think that's the important point. I'll rewrite my transformation tomorrow and
have a look. Thanks a lot. Oh, and 20 points for the plausible explanation.
Regards,
Georg Datterl
-- Kontakt --
Georg Datterl
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
If you can write your own code you could do the 2 step transformation to avoid
the issue without writing the FO file to disk.
FOP allows you to receive the results as streaming bytes which you can send
right back in as an FO SAXSource.
-Original Message-
From: Georg Datterl
Did you read the links I included? Xslt does not contain fo. Xslt can include
fo tags which would make it xslfo which can be transformed with an xml to
generate fo. Xslt can be used without any fo tags to generate web content.
FOP requires either xslfo + xml or fo which is that intermediate
On 07.12.2010 16:39, Georg Datterl wrote:
?xml version=1.0 encoding=UTF-8?
xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xsl:variable name=A4_HEIGHT select='297mm'/
xsl:template match=ROOT
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
Hi Peter,
Sorry for late reply, Thanks for your email!!!
I have tried the first option of setting the system property in the start up
and it was not solving my problem with the number of open files.
I have tried updating the FOP 0.9.5 to FOP 1.0 and the number of open file
descriptors problem
19 matches
Mail list logo