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

[PATCH] Arabic Shaping not Supported by FOP

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: layout/unqualified
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • External issue ID:
      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. foparabic1.patch
          6 kB
          RN
        2. ArabicTestLoc1.pdf
          106 kB
          Jonathan Levinson
        3. ArabicTestLoc1.fo
          25 kB
          Jonathan Levinson
        4. arabic-patch-teaser.tgz
          8 kB
          Glenn Adams
        5. Arabic2.pdf
          12 kB
          Jonathan Levinson
        6. Arabic1.fo
          1.0 kB
          Jonathan Levinson

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: