Nick Heyworth created FOP-2258:
----------------------------------

             Summary: 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: pdf
    Affects Versions: 1.1
         Environment: Windows 7
            Reporter: Nick Heyworth


The FO code below demonstrates the problem. The Arabic character 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.

<?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 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

Reply via email to