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

[PATCH] Arabic Shaping not Supported by FOP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.5
    • None
    • layout/unqualified
    • None
    • Operating System: All
      Platform: All
    • 32789

    Description

      Lack of support for multi-language seems to be happening in FOP.

      Arabic is right to left, and there are rules for joining letters.

      We did the following steps listed in
      http://www.javaranch.com/journal/200409/CreatingMultipleLanguagePDFusingApacheFO
      P.html

      However, the Arabic words are able to display letter by letter, but the words
      are broken. No glyphs to join letter with letter...

      Initially we thought it may be the font problem. Then we tried download quite a
      number of Arabic fonts, (like tradbdo.ttf, trado.ttf, nesf2.ttf,
      Nafees_Naskh.ttf etc.) The font that contains most glyphs are Nafees_Naskh.ttf,
      which contains 581 number of glyphs. However, after rendering pdf using FOP,
      the words are still broken.

      Attachments

        1. Arabic1.fo
          1.0 kB
          Jonathan Levinson
        2. Arabic2.pdf
          12 kB
          Jonathan Levinson
        3. arabic-patch-teaser.tgz
          8 kB
          Glenn Adams
        4. ArabicTestLoc1.fo
          25 kB
          Jonathan Levinson
        5. ArabicTestLoc1.pdf
          106 kB
          Jonathan Levinson
        6. foparabic1.patch
          6 kB
          RN

        Issue Links

          Activity

            People

              fop-dev@xmlgraphics.apache.org fop-dev
              yuanlue@crimsonlogic.com Lucy lue
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: