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

Sequences of DIN SPEC 91379 with combining letters are rendered incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.21
    • None
    • Rendering
    • None

    Description

      Accented Letters composed of Unicode base letter and combining accent are rendered wrong. E.g. with 0041 030B LATIN CAPITAL LETTER A WITH COMBINING DOUBLE ACUTE ACCENT the accent appears at the right hand side of the letter A, not above the letter A.

      The position is wrong for most of the sequences defined in the following spec:

      DIN SPEC 91379: Characters in Unicode for the electronic processing of names and data
      exchange in Europe; with digital attachment
      https://www.xoev.de/downloads-2316#StringLatin
      https://www.din.de/de/wdc-beuth:din21:301228458

       

      The correct rendering should look like the output of hb-view 2.6.8, see files DIN_SPEC_91379_Sequences*.pdf.

      The output of PDFBox is appended in pdfbox.pdf, which is created by running TestPdfbox.java. The sequences are read from file DIN_SPEC_91379_Sequences.txt.

       

      Font used for testing: NotoSansMono-Regular.ttf, see https://www.google.com/get/noto/ 

      download: https://noto-website-2.storage.googleapis.com/pkgs/NotoSansMono-hinted.zip

       See also FOP-2969

       

      Attachments

        1. DoGlyphLayoutDinSpec91379Form.pdf
          230 kB
          Volker Kunert
        2. DoGlyphLayoutDinSpec91379.pdf
          215 kB
          Volker Kunert
        3. DoGlyphPositionBengali.pdf
          23 kB
          Volker Kunert
        4. pdfbox.patch
          403 kB
          Volker Kunert
        5. ExamplePdfboxFopPos-By-Tilman.pdf
          239 kB
          Tilman Hausherr
        6. ExamplePdfboxFopPosForm.pdf
          310 kB
          Volker Kunert
        7. ExamplePdfboxFopPos.pdf
          284 kB
          Volker Kunert
        8. patch-2020-10-02.txt
          17 kB
          Volker Kunert
        9. ExamplePdfboxFopPosForm.java
          4 kB
          Volker Kunert
        10. ExamplePdfboxFopPos.java
          5 kB
          Volker Kunert
        11. DefaultScriptProcessor.java
          6 kB
          Volker Kunert
        12. TestPdfboxFop2.java
          8 kB
          Volker Kunert
        13. TestPdfboxFop2.pdf
          13 kB
          Volker Kunert
        14. TestPdfboxJava2D.pdf
          17 kB
          Volker Kunert
        15. TestPdfboxJava2D.java
          4 kB
          Volker Kunert
        16. screenshot-1.png
          17 kB
          Tilman Hausherr
        17. DIN_SPEC_91379_Sequences-ac.pdf
          18 kB
          Volker Kunert
        18. DIN_SPEC_91379_Sequences-ab.pdf
          16 kB
          Volker Kunert
        19. DIN_SPEC_91379_Sequences-aa.pdf
          15 kB
          Volker Kunert
        20. pdfbox.pdf
          17 kB
          Volker Kunert
        21. TestPdfbox.java
          2 kB
          Volker Kunert
        22. DIN_SPEC_91379_Sequences.txt
          10 kB
          Volker Kunert

        Activity

          People

            Unassigned Unassigned
            vk.lists@gmail.com Volker Kunert
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: