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

Rendering LineFeed (No Unicode mapping for .notdef (10))

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.7, 2.0.8
    • 2.0.9, 3.0.0 PDFBox
    • Rendering
    • None
    • Windows 7 Enterprise
      jdk 1.7.80x64
      PDF Creator Printer / Network printer

    Description

      Printing of on PDF Document does not occurs correctly: linefeed is also printed as a char "without glyph".

      org.apache.pdfbox.pdmodel.font.PDSimpleFont toUnicode
      WARNUNG: No Unicode mapping for .notdef (10) in font Helvetica
      org.apache.pdfbox.rendering.TTFGlyph2D getPathForGID
      WARNUNG: No glyph for 10 in font Helvetica

      Attachments:
      pdf_sourcefile.pdf -> the pdf document to be printed
      pdf_linefeed_no_glyph.pdf -> the result of the issued printjob, printed by "PDF CREATOR PRINTER" (looks the same on a real printer)
      test_java_prog.txt -> java program to test it

      Attachments

        1. PDFBOX-4001-reduced.pdf
          2 kB
          Tilman Hausherr
        2. PDFBOX-2334-reduced.pdf
          2 kB
          Tilman Hausherr
        3. ReportMill template content.png
          2 kB
          Adrian-Călin Bunziac
        4. pdxbox_#2_printjob.pdf
          21 kB
          Adrian-Călin Bunziac
        5. reportmill_#2.pdf
          1 kB
          Adrian-Călin Bunziac
        6. reportmill_#2_content.txt
          0.5 kB
          Adrian-Călin Bunziac
        7. pdfbox_#2_using_PDDocument_save.pdf
          1 kB
          Adrian-Călin Bunziac
        8. test_java_prog.txt
          3 kB
          Adrian-Călin Bunziac
        9. pdf_linefeed_no_glyph.pdf
          6 kB
          Adrian-Călin Bunziac
        10. pdfbox_sourcefile.pdf
          1 kB
          Adrian-Călin Bunziac

        Issue Links

          Activity

            People

              tilman Tilman Hausherr
              ACB Adrian-Călin Bunziac
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: