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

Some characters are displayed by default font (not by correct font)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.7.1
    • None
    • PDModel
    • None

    Description

      I have created simple test pdf which contains some central european characters.
      Adobe Reader displays text OK.

      But this code
      BufferedImage bufferedImage = pdPage.convertToImage();

      renders some characters with default font (not the one set in content).

      Attachments

        1. pdbox_output.png
          11 kB
          Juraj Lonc
        2. makcene-print.pdf
          36 kB
          Juraj Lonc
        3. ConvertPdf2ImgB.java
          4 kB
          Juraj Lonc
        4. CmapToTtfImporter.java
          7 kB
          Juraj Lonc
        5. adobe_reader.png
          15 kB
          Juraj Lonc

        Issue Links

          Activity

            People

              lehmi Andreas Lehmkühler
              chupacabras Juraj Lonc
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: