FOP
  1. FOP
  2. FOP-1790

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

    Details

    • Type: Bug 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

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

        Activity

        Hide
        Glenn Adams added a comment -

        Added complex script support (bidi, shaping, etc) at revision 1293736. Initial Arabic fonts supported are enumerated at https://skynav.trac.cvsdude.com/fop/wiki/SupportedFonts.

        Show
        Glenn Adams added a comment - Added complex script support (bidi, shaping, etc) at revision 1293736. Initial Arabic fonts supported are enumerated at https://skynav.trac.cvsdude.com/fop/wiki/SupportedFonts .
        Hide
        alsadi added a comment -

        Attachment text.pdf has been added with description: rendered using batik-rasterizer

        Show
        alsadi added a comment - Attachment text.pdf has been added with description: rendered using batik-rasterizer
        Hide
        alsadi added a comment -

        Attachment delme.pdf has been added with description: the rendered pdf using fop

        Show
        alsadi added a comment - Attachment delme.pdf has been added with description: the rendered pdf using fop
        Hide
        alsadi added a comment -

        Attachment delme.fo has been added with description: a sample fo text

        Show
        alsadi added a comment - Attachment delme.fo has been added with description: a sample fo text

          People

          • Assignee:
            fop-dev
            Reporter:
            alsadi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development