Victor Mote schrieb:
[..]
I'm glad your problem is solved, but this means our documentation (and my
understanding of what is going in with the AWT renderer) is wrong. It will
be a few days at least before I can get to it, but I'll try to find out what
is going on there get it documented correctly
Jeremias Maerki wrote:
This happens because the two renderer use a different font source which
results in slightly different font metrics for the same fonts. This in
turn has consequences on the layout. There's currently nothing you can
do to get the same output other than by switching renderers.
Hi.
Rendering a document through the awtrenderer (sent directly to the printer)
doesn't give me the same result than rendering the samep document throught
the PDF renderer (PDF is generated in a servlet, then open in a browser
window).
Both modules share the embedded fonts and xslt file.
Any
, for example, should produce almost exactly the same output
because they can use the same font source. That's not possible with AWT.
It is even possible that different JDK version lead to different results
with the AWT renderer. Please be aware that the AWT renderer doesn't
directly support font
Thank you very much for your input.
Frédéric
-Message d'origine-
De: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Date: lundi 17 février 2003 11:53
À: [EMAIL PROTECTED]
Objet: Re: Different page layout using pdf renderer or awt renderer
This happens because the two renderer use a different
that shows how to use the AWT renderer. I
assume it is different from the other renderers since the target is not
a file. If someone could provide me with a sample code, i would
appreciate that very much.
Get the FOP source distribution and look into
org/apache/fop/apps/AWTStarter.java
MARTIN Franck wrote:
I did just that and it helped a bit. I executed the followind code :
I meant look how AWTStarter uses the FOP core classes. The class
itself is not exactly meant for reuse.
But i get an exception during the AWTStarter constructor. Unfortunately
there's no message (it's null).
Hi all,
I can't find any example that shows how to use the AWT renderer. I
assume it is different from the other renderers since the target is not
a file. If someone could provide me with a sample code, i would
appreciate that very much.
Thank you
Franck MARTIN
MARTIN Franck wrote:
I can't find any example that shows how to use the AWT renderer. I
assume it is different from the other renderers since the target is not
a file. If someone could provide me with a sample code, i would
appreciate that very much.
Get the FOP source distribution and look