You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2012/11/12 17:06:56 UTC

[Bug 54139] New: writing-mode="lr" an bidi-override etc

https://issues.apache.org/bugzilla/show_bug.cgi?id=54139

          Priority: P2
            Bug ID: 54139
          Assignee: fop-dev@xmlgraphics.apache.org
           Summary: writing-mode="lr" an bidi-override etc
          Severity: normal
    Classification: Unclassified
                OS: Mac OS X 10.4
          Reporter: quest.james@gmail.com
          Hardware: All
            Status: NEW
           Version: 1.1
         Component: page-master/layout
           Product: Fop

Created attachment 29590
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29590&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54139] writing-mode="lr" an bidi-override etc

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54139

Pascal Sancho <ps...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Mac OS X 10.4               |All

-- 
You are receiving this mail because:
You are the assignee for the bug.