[ 
https://issues.apache.org/jira/browse/FOP-2258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Glenn Adams resolved FOP-2258.
------------------------------
       Resolution: Fixed
    Fix Version/s: trunk

Fixed in http://svn.apache.org/viewvc?view=revision&revision=r1623366.

> Rendering a character from a right-to-left language interferes with the order 
> of subsequent characters
> ------------------------------------------------------------------------------------------------------
>
>                 Key: FOP-2258
>                 URL: https://issues.apache.org/jira/browse/FOP-2258
>             Project: Fop
>          Issue Type: Bug
>          Components: renderer/pdf
>    Affects Versions: 1.1
>         Environment: Windows 7
>            Reporter: Nick Heyworth
>            Assignee: Glenn Adams
>             Fix For: trunk
>
>
> The FO code below demonstrates the problem. The Arabic character rendered by 
> the first inline element causes FOP to render ")3(" instead of "(3)". This 
> did not occur with earlier versions of FOP. "(abc)" is rendered correctly, 
> apparently because it is in a separate block. When the block around "(abc)" 
> is removed, the next inline element is displayed as "(3)", as expected.
> Please let me know whether this is indeed a bug and when it can be fixed.
> <?xml version="1.0" encoding="UTF-8"?>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
>       <fo:layout-master-set>
>               <fo:simple-page-master master-name="page-master">
>                       <fo:region-body/>
>               </fo:simple-page-master>
>       </fo:layout-master-set>
>       <fo:page-sequence master-reference="page-master">
>               <fo:flow flow-name="xsl-region-body">
>                       <fo:block>
>                               <fo:inline font-family="Arial">ڦ</fo:inline>
>                               <fo:block>
>                                       <fo:inline>(abc)</fo:inline>
>                               </fo:block>
>                               <fo:inline>(3)</fo:inline>
>                       </fo:block>
>               </fo:flow>
>       </fo:page-sequence>
> </fo:root>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to