On 09.05.2008 12:05:13 paul womack wrote:
> Jeremias Maerki wrote:
> >>
> >> q2) Is it possible to (somehow) use the same layout
> >> for two renderers? in my particular circumstances
> >> induividual character appearance is a moderately low
> >> priority; whiat I do require is that line wrapping
> >> and general layout is the same between the EPSF and
> >> the preview.
> >>
> >> If the AT file specified the exact placement of each character
> >> my purpose would be well served.
> > 
> > The AT does that. Not with absolute coordinates for each glyph but the
> > renderers will produce closely resembling output.
> 
> I'm afraid not; since "whole lines" are commonly passed to  the renderers
> small changes in the character width can accumulate; this is
> (sadly) more than enough to drive words (or at least parts of words)
> off the right hand edge, or conversely to make justified
> text extremely (intolerably) ragged.

Which is why I wrote "closely resembling output". There's no (efficient) way
we can do any better with the current design. If it's a problem in your
case, you're out of luck, I'm afraid.

> I may have to use ghostscript to render the postscript to get
> a preview, sadly. I'd rather have stayed in one "world".

So help us improve FOP. Some time ago we started investigating a new
intermediate format. What we've started outlining there would allow
exact character placing:
http://wiki.apache.org/xmlgraphics-fop/AreaTreeIntermediateXml/NewDesign

Just don't ask the "when" question. ;-) We've started the process but
it's currently not active. We'll get back to it eventually, I think.

>    BugBear




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to