Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4189

Enable PDF creation with Indian languages, by reading and utilizing the GSUB table

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.27, 3.0.0 PDFBox
    • 3.0.0 PDFBox
    • FontBox, PDModel

    Description

      Implemented proper rendering of Indian languages, which need extensive Glyph substitution. The GSUB table has been read and used effectively to replace some compound words with their respective Glyphs. All tests are passing. I have tested this for the Bengali font. Please review these changes and let me know if it makes sense to incorporate these.

      Attachments

        1. screenshot.png
          31 kB
          Tilman Hausherr
        2. pdf-output.png
          13 kB
          Kishore Kumar
        3. committed.patch
          235 kB
          Tilman Hausherr
        4. bengali-word-lohit-good.pdf
          9 kB
          Tilman Hausherr
        5. bengali-word-lohit-bad.pdf
          28 kB
          Tilman Hausherr
        6. Bengali-text-before.pdf
          69 kB
          Palash Ray
        7. Bengali-text-after.pdf
          69 kB
          Palash Ray
        8. BengaliPdfGenerationHelloWorld.java
          5 kB
          Tilman Hausherr
        9. bengali-example3.pdf
          52 kB
          Tilman Hausherr
        10. bengali-example2.pdf
          52 kB
          Tilman Hausherr
        11. bengali-example.pdf
          50 kB
          Tilman Hausherr

        Issue Links

          Activity

            People

              lehmi Andreas Lehmkühler
              paawak Palash Ray
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 336h
                  336h
                  Remaining:
                  Remaining Estimate - 336h
                  336h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified