[
https://issues.apache.org/jira/browse/FOP-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Glenn Adams updated FOP-2161:
-----------------------------
Priority: Blocker
Summary: Unexpected page number formatting when writing-mode="lr" (was:
writing-mode="lr" an bidi-override etc)
> Unexpected page number formatting when writing-mode="lr"
> --------------------------------------------------------
>
> Key: FOP-2161
> URL: https://issues.apache.org/jira/browse/FOP-2161
> Project: Fop
> Issue Type: Bug
> Components: page-master/layout
> Affects Versions: 1.1
> Environment: Operating System: All
> Platform: All
> Reporter: james quest
> Assignee: Glenn Adams
> Priority: Blocker
> Attachments: fo
>
>
> in left-to-right languages, we display 1 / 2 (i.e. page 1 of 2 pages).
> in right-to-left languages, it should also do 1 / 2, and it does if
> <fo:inline>1 / 2 </fo:inline>
> however, if it is <fo:inline><fo:page-number/> / <fo:page-number-citation
> ref-id="endofdoc"/></fo:inline>,
> it displays (in right-to-left languages), 2 / 1 instead of 1 / 2
> a summary of different variations of this is below. they should all be
> displayed the same for rl and rl, but in most cases it does not. (please find
> attached fo)
> <fo:block>1/2</fo:block>
> renders as 1/2 for rl, 1/2 for lr
> <fo:page-number/>/<fo:page-number-citation ref-id="endofdoc"/>
> renders as 2/1 for rl, 1/2 for lr
> <fo:bidi-override direction="ltr">
> <fo:page-number/>/<fo:page-number-citation ref-id="endofdoc"/>
> </fo:bidi-override>
> renders as 2/1 for rl, 1/2 for lr
> <fo:bidi-override direction="ltr" unicode-bidi="embed">
> <fo:page-number/>/<fo:page-number-citation ref-id="endofdoc"/>
> </fo:bidi-override>
> renders as /21 for rl, 1/2 for lr
> <fo:bidi-override direction="ltr" unicode-bidi="bidi-override">
> <fo:page-number/>/<fo:page-number-citation ref-id="endofdoc"/>
> </fo:bidi-override>
> renders as /21 for rl, 1/2 for lr
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira