Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2249

Bidi controls (LRM, RLM...) and joiners (ZWJ, ZWNJ) retained in formatting.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1, 2.5
    • None
    • None
    • Windows 7 x64

    Description

      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>‍ وكلما زادت معرفتك بها؛ زادت السلامة والمتعة التي تحصل some text عليها خلال قيادتها. </fo:block>
      <fo:block>‏ البريد الإلكتروني ‎ 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>

      Attachments

        1. fop.xconf
          28 kB
          Konrad Gajewski
        2. arabic.fo
          0.7 kB
          Konrad Gajewski
        3. test.pdf
          15 kB
          Konrad Gajewski

        Activity

          People

            gadams Glenn Adams
            gajewski.konrad@gmail.com Konrad Gajewski
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: