xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Fong" <ryan.f...@workday.com>
Subject RE: Spacing problem with mixed English and Arabic
Date Mon, 01 Oct 2012 15:25:45 GMT
G’day, Glenn.  Did you get a chance to investigate this problem and identify it as a bug
or find a workaround?  I still haven’t been able to resolve this on my end.  Thanks.


From: Glenn Adams [mailto:glenn@skynav.com] 
Sent: Tuesday, 18 September, 2012 17:42
To: fop-users@xmlgraphics.apache.org
Subject: Re: Spacing problem with mixed English and Arabic


investigating... btw, did you get any exceptions or error traces on the console when you ran

On Wed, Sep 19, 2012 at 12:44 AM, Ryan Fong <ryan.fong@workday.com> wrote:

G'day, mates.  I'm using Apache FOP 1.1rc1 on Windows 7 with Java
1.7.0_07 64-bit and have a spacing problem.

I have a block that says "Page x of x".  The text has been translated to
Arabic and the numeric values are replaced with the fo calculated values
<fo:page-number/> and <fo:page-number-citation ref-id="last-page"/>.
Writing mode has been set right-to-left and the font is Arial Unicode

The problem is that the rendered page shows the numbers overlapping the
text.  It is as if the spaces are ignored when the numbers are placed
within the text.  I've tried using the word-spacing attribute on
fo:block but the spaces are rendered unevenly, most of the space occurs
to the left of the number.

I've also noticed that any attempt to place a border around the number
itself, such as using fo:inline with a colored border around the
fo:page-number, results in a very thin line being displayed to the left
of the number.  This indicates something wrong with the way it's

Attached are the fo.xml file and the resulting pdf.

I'd appreciate any workarounds for this problem or assistance
identifying this as a bug in the rendering engine.  Thank you!

To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


View raw message