You're welcome to improve TTFReader in FOP Trunk if it doesn't do
exactly what you want it to do. TTFReader was never designed to be used
as anything else than a command-line tool which is called once for each
font. If people have additional needs we're gladly accepting patches
against FOP Trunk.
You're mixing things. You're using XSLT exclusively to convert any XML
to XSL-FO. FOP will then intepret the XSL-FO and convert it to the
desired target format (PDF, PS, RTF etc.) depending on the parameters
you pass in. You should have a look at the embedding examples which is a
step-by-step guide
The example servlet for FOP is in the FOP source distribution. It's also
accessible here:
http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/src/java/org/apache/fop/servlet/
More info on using FOP in a servlet:
http://xmlgraphics.apache.org/fop/0.91/servlets.html
On 07.03.2006 05:40:10 Cam T w
What you describe is actually something that FOP is supposed to do
automatically but so far hasn't learned to do. This is described in [1]
for the fixed table layout. At the moment, you probably need to do some
calculation in XSLT and add to the column widths yourself.
[1] http://www.w3.org/TR/REC
So, you can't install at least a JDK 1.3.1? That would seem very odd.
Many people work with DocBook and FOP 0.20.5 or FOP 0.91beta and seem to
be relatively happy. There are some issues, yes, but the problems you
describe are, to my knowledge, not among them. I'm not sure how to help
you any furth
> FOP does have a few System.out.println calls
in its source code but
> these are only in places where those are ok, i.e. in command-line
> handling code
IMHO this is not the case with the TTFReader.
It tells you about each file it reads and writes. If you convert a couple
of files at once this i
Sorry, Karl, I haven't had a chance, yet, to look at what you posted
back then. Please note, that FOP 0.91beta doesn't support relative URLs,
but the latest development code (FOP Trunk) does. Tracey may have to use
the code from Subversion to solve her problem or wait until the next
release.
On 07
Hmm, I don't think that will help Christiane. This doesn't allow you to
alternate between two flows. XSL 1.0 only supports one flow per
page-sequence. Maybe the flow maps in the upcoming XSL 1.1 might help.
But these are not supported by FOP, yet.
My suggestion is to render the two editions after
There's not much else you can do other than to try to handle/work-around
everything in XSLT. FOP does not have special code to handle languages
like Chinese. We lack the knowledge set in the project team. Every now
and then we talk about implementing UAX#14 line breaking but so far
nobody had the r
Hmm, FOP does not do anything special with warning messages as opposed
to debug- or info-level messages. If you managed you reroute all logging
to java.util.logger it's a matter of configuring that thing correctly.
FOP does have a few System.out.println calls in its source code but
these are only i
Hello
Have servlet to use FOP 0.90.1 to render from fo to pdf from the
examples to work. Would anyone with example of how to render xml to rtf
using xslt... Would one need to render from xml to fo first and then to
rtf. If so is there any standard xslt to render xml to fo?
All suggestions much a
Hello
I'm a newbie to FOP. Has anyone used the last FOP 0.90.1 in a
servlet... I have found a version of the servlet on the internet but
that was for FOP 0.2X days.
Many thanks
Andreas L Delmelle wrote:
On Mar 6, 2006, at 10:05, Florent Georges wrote:
Andreas L Delmelle wrote:
On Mar 6, 2006, at 01:25, Florent Georges wrote:
Well, AFAICT, it's not really empty from a SAX parser's
point of view. It does contain a text-node, but this is
completely ignored by FOP.
>From the comment in The default FOURIResolver
This resolver will allow URLs without a scheme, i.e. it assumes 'file:'
as
the default scheme. It also allows relative URLs with scheme,
e.g. file:../../abc.jpg which is not strictly RFC compliant as long as
the
scheme is the same as the scheme of t
Check out http://xmlgraphics.apache.org/fop/fo.html#fo-oddeven
It'll show you how (basically you set up a that contains
's for your left and right hand
then make your
Cheers
Karl
-Original Message-
From: Christiane Fritze [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 7 March 2006 3:54 A
Hi all,
I have some XML that defines TabularData elements, which represent
tabular data. In some cases the data can includes information on the
column widths in order to guarentee that the data fit's in it.
Eg
freshmoney
Fresh Money IDEA
Hi,
I've been around the installation of trunk's version
of FOP, which I've ended up by not being able to use
beacuse of my system is too old (libc-2.2, gcc
2.95.3), and the java version you've lately updated
to, doesn't run here.
Actually, very likely, the only version I'd able to
use, would be
On Mar 6, 2006, at 10:05, Florent Georges wrote:
Andreas L Delmelle wrote:
On Mar 6, 2006, at 01:25, Florent Georges wrote:
Well, AFAICT, it's not really empty from a SAX parser's
point of view. It does contain a text-node, but this is
completely ignored by FOP. The SAX characters() events
Dirk Bromberg was able to help me earlier today with a typo in my font
metrics url address. I have evrything workkng now. However, I am not sure
how to get relative addressing to work. I can succeed with absolute
addressing since I control where the files are placed. I would feel better,
though
Hi all,
for a parallel printed edition I need two different transformations of
the same xml-document, which is easily made by means of the 'mode'
attribute.
Parallel printed means that one version of the text has to be on all odd
pages, the other version on all even pages (if you need see be
[EMAIL PROTECTED] wrote:
> The first listed font appears to get used. In the above example the
> English is OK and the kanji glyphs display as squares in the output pdf.
>
> With font-family="ArialUni, ArialNarrow" the kanji displays OK but the
> English is also using ArialUni glyphs. I've
Title: Problem with multiple font-family values
I have a block of text which contains English and Japanese (kanji) characters. I'd like the kanji to be displayed in Arial Unicode with the English characters using Arial Narrow. Using FOP 0.20.5.
I've tried various options along the lines of
HOORAY!
You are exactly right. That was it. I was tearing out my hair.
Sorry to take your time with a typo, but I just couldn't find it without
another pair of eyes.
- Original Message -
From: "Dirk Bromberg" <[EMAIL PROTECTED]>
To:
Sent: Monday, March 06, 2006 7:57 AM
Subject: Re:
Have you seen the typo error ?:
metrics-url="fle:///C:/unzipped/fop-0.91beta-bin-jdk1.4/fop-0.91beta/ttfcm.xml">
--->
Dirk
Tracey Zellmann wrote:
I am not able to get Verdana to work. I have tried to follow the
documentation. I have also read the recent emails ab
I am not able to get Verdana to work. I have tried to follow the
documentation. I have also read the recent emails about embedded font
problems, but I can't quite follow the details.
I am getting this error.
SEVERE: svg graphic could not be rendered: null
java.lang.NullPointerException
at org.a
Thanks.
I had been to that page. I have got a basic solution. I can get everything
logged to a java.util.Logger, behaving the way I want. However, I am still
getting all the FOP WARNING messages coming to the console. I was able to
get a workable solution to that using redirection from the mai
Hi everybody,
I have succeeded in producing a chinese PDF from an XML document via a
XSL transformation.
There is a last problem. The professional chinese document should not
let a chinese character alone on a line.
For instance, I have the sentense "AZERTYUIO." to render in PDF. FOP
(with the pat
THe
way I know to keep two differents elements (tables, images, etc...) is to put
them into a table and use the keep-with-next attribute on the "main" table
cells...
-
create a main table with 1 column and 2 rows
- put
your first table into the first cell of the main
table
- put
your s
Andreas L Delmelle wrote:
> On Mar 6, 2006, at 01:25, Florent Georges wrote:
> > Andreas L Delmelle wrote:
> >> The problem is an empty fo:instream-foreign-object.
> > Thanks for the solution (mmh, this file passed my
> > validator, I'll have to check that).
> Well, AFAICT, it's not really e
Hi all,
Is there a way of keeping two tables together on the same
page? The two tables are different in column sizes, the first table has for
example 2 columns and the second table has 5 or 6 columns.
Thanx,
Confidentiality Caution and Disclaimer
This message and/or any attachme
Apache FOP uses Apache Jakarta Commons Logging as a logging abstraction
kit. [1] should give you the basics and has links to further information
on configuring logging the way you want it to behave. I hope that helps.
[1] http://xmlgraphics.apache.org/fop/0.91/embedding.html#basic-logging
On 04.0
31 matches
Mail list logo