Details

      Description

      Thomas Fischer reported to users@pdfbox.apache.org that org.apache.pdfbox.ExtractText interchanges typographic ligatures "fi" and "fl". The sample document "documenta_math.pdf" was created using TeX and AFPL Ghostscript 6.50.

      I used PDFBox 1.0.1-SNAPSHOT to verify this problem. The "fi" ligature behaves correctly (ie. text extraction yields "finite" and "infinite", not "flnite" and "inflnite"), but the overall text layout is a complete mess. Please see the PDF text extraction result "documenta_math.txt" and PDF rendering result "documenta_math_page4.png".

      The cause of the horizontal text misplacement is not yet known. This could affect all PDF documents which have been created using TeX.

        Attachments

        1. documenta_math_page4.png
          168 kB
          Villu Ruusmann
        2. documenta_math_page4-fixed.png
          174 kB
          Villu Ruusmann
        3. documenta_math.pdf
          104 kB
          Villu Ruusmann
        4. documenta_math.txt
          9 kB
          Villu Ruusmann
        5. documenta_math-fixed.txt
          11 kB
          Villu Ruusmann
        6. FontBox.patch
          1 kB
          Villu Ruusmann

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vfed Villu Ruusmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: