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

missing rtl and arabic shapping in fop's PDF, while it worked with batik-rasterizer

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: renderer/pdf
    • Labels:
      None
    • Environment:
      Operating System: Linux
      Platform: PC
    • External issue ID:
      49008

      Description

      I manged to add an Arabic font, with this conf

      <font metrics-url="KacstBook.xml" kerning="yes" embed-url="file:///usr/share/fonts/kacst/KacstBook.ttf">
      <font-triplet name="KacstBook" style="normal" weight="normal"/>
      </font>

      but letters in generated pdf files are not joined nor shaped and they are stacked from left to right.

      when I tried using batik-rasterizer to raster text in same font into pdf it worked

        Attachments

        1. delme.fo
          0.9 kB
          alsadi
        2. delme.pdf
          8 kB
          alsadi
        3. text.pdf
          3 kB
          alsadi

          Activity

            People

            • Assignee:
              fop-dev@xmlgraphics.apache.org fop-dev
              Reporter:
              alsadi@ojuba.org alsadi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: