[prev in list] [next in list] [prev in thread] [next in thread]
List: fop-user
Subject: Re: fo:page-number spacing problems in Arabic
From: Pascal Sancho <psancho.asf () gmail ! com>
Date: 2012-11-28 8:49:38
Message-ID: CABKGwxmOV5D7iXqcUnhWM109WggUX1MZnqrrB3CmhBiawS=bxA () mail ! gmail ! com
[Download RAW message or body]
Hi,
there are some issues related to page-number-citation in right-to-left
mode in conjunction with align right.
See [1].
[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=54139
2012/11/27 Ryan Fong <ryan.fong@workday.com>:
> G'day, mates. This is a follow-up message to one I posted a couple of
> months ago about spacing problems with page numbers in Arabic.
>
> I have text in Arabic surrounding fo:page-number and
> fo:page-number-citation elements that simply say "Page x of y".
>
> As a sanity-check, I noticed that hardcoding digits where the
> fo:page-number and fo:page-number-citation elements normally belong does
> not cause any spacing problems. This is seen in the two green boxes
> (Page 25 of 100 & Page 7 of 9, respectively).
>
> The red box denotes where the fo:page-number elements are used. Several
> problems occur:
> * The page numbers overlap the Arabic text (esp. on the last pages).
> * The entire string is shifted to the left and doesn't right-align.
> * On page 10, the page number shows "01" (reversed).
> * On page 12, both the page number and the total show "21" (reversed).
>
> The orange box denotes where fo:leader elements (forced spacing) were
> added around the fo:page-number elements. This mitigates the text
> overlap problem but the other issues persist.
>
> What can be done to fix this problem? Suggestions and thoughts are
> welcome. Thank you.
>
>
> Environment:
> * Apache FOP 1.1
> * Windows 7 64-bit
> * Java 64-bit 1.7.0_09
> * arialuni.ttf font
>
> Command:
> fop.bat -c fop.xml -fo in.xml -pdf out.pdf -d
>
> Attachments:
> * fop.xml (fop config)
> * in.xml (fo input)
> * out.pdf (pdf result)
> * stdout.txt (console output)
--
pascal
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic