Konrad Gajewski created FOP-2249:
------------------------------------

             Summary: U+200E is printed in postscrip 
                 Key: FOP-2249
                 URL: https://issues.apache.org/jira/browse/FOP-2249
             Project: Fop
          Issue Type: Bug
          Components: ps
    Affects Versions: 1.1
         Environment: Windows 7 x64
            Reporter: Konrad Gajewski
            Priority: Blocker


Hi, 
I'm testing Arabic sentences mixed with English one.

I found the following issue:

When I'm trying to revert direction by U+200E, I'm getting the glyphs which one 
is incorrect because should be nothing.

For some Fonts I'm getting warning and I see "#" inside, for some of them 
"incorrect character".

.fo file:

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"; font-family="simpfxo">
  <fo:layout-master-set>
    <fo:simple-page-master page-height="297mm" page-width="210mm" 
master-name="a4">
      <fo:region-body margin-top="11mm" margin-bottom="12mm" 
margin-right="10mm" margin-left="10mm"/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence master-reference="a4">
    <fo:flow flow-name="xsl-region-body">
      <fo:block>&#x200D; وكلما زادت معرفتك بها؛ زادت السلامة والمتعة التي تحصل 
some text عليها خلال قيادتها. </fo:block>
          <fo:block>&#x200F; البريد الإلكتروني &#x200E; Test</fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>

.fontconfig file

        <font embed-url="file:///C:/Windows/Fonts/ARIALUNI.TTF" 
embedding-mode="full">
          <font-triplet name="Arial" style="normal" weight="normal"/>
        </font>
        <font embed-url="file:///C:/Windows/Fonts/cour.ttf" 
embedding-mode="full">
          <font-triplet name="Courier" style="normal" weight="normal"/>
        </font>   
        <font embed-url="file:///C:/Windows/Fonts/DejaVuSansMono.ttf" 
embedding-mode="full">
          <font-triplet name="DejaVuSansMono" style="normal" weight="normal"/>
        </font>         
                <font 
embed-url="file:///C:/Windows/Fonts/ScheherazadeRegOT.ttf" 
embedding-mode="full">
          <font-triplet name="ScheherazadeRegOT" style="normal" 
weight="normal"/>
        </font>
                <font embed-url="file:///C:/Windows/Fonts/simpfxo.ttf" 
embedding-mode="full">
          <font-triplet name="simpfxo" style="normal" weight="normal"/>
        </font> 

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