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

Issues with stacking of diacritics while trying to render PDFs in Thai language

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1, 2.5
    • None
    • None
    • Win 7, JDK1.6

    Description

      Let us take 3 examples, where the first two are rendering ok in the PDF, whereas the 3rd is not.

      1. ยี = ย + ี (consonant + vowel)

      2. ยี่ = ย + ี + ่ (consonant + vowel + diacritic)

      3. ย่ = ย + ่ (consonant + diacritic)

      The third complex alphabet is showing ok when you see it in notepad/MSWord/webpage, etc. but in the PDF, it renders with a vertical space in between the diacritic and the consonant, as if a vowel is missing.

      Though this does not alter the meaning of the script, it looks unprofessional.

      Details on how i want the characters to be rendered in the PDF, can be found in the 2nd example of the link: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=CmplxRndExamples

      Fonts used: PSL096pro.ttf, PSL095pro.ttf, PSL094pro.ttf, PSL053pro.ttf, PSL052pro.ttf, PSL051pro.ttf, PSL050pro.ttf, etc..

      Attachments

        1. example pdf.jpg
          159 kB
          Sougata Bhattacharya
        2. op.pdf
          24 kB
          Sougata Bhattacharya
        3. PDFGenerator.java
          5 kB
          Sougata Bhattacharya
        4. ConsoleLog.txt
          0.5 kB
          Sougata Bhattacharya
        5. fopConfig.xml
          3 kB
          Sougata Bhattacharya
        6. input.xml
          0.0 kB
          Sougata Bhattacharya
        7. transformer.xsl
          3 kB
          Sougata Bhattacharya

        Activity

          People

            Unassigned Unassigned
            Sougata85 Sougata Bhattacharya
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: