The file mentioned from the pdf.js issue seems to be the same file and have
the same issue.

Here are the logs that arre outputed for the conversion using pdfbox:2.0.17

```
Jan 28, 2020 9:13:47 AM org.apache.pdfbox.pdmodel.font.PDSimpleFont
toUnicode
WARNING: No Unicode mapping for .notdef (59) in font AAAAAA+DejaVuSans
Jan 28, 2020 9:13:47 AM org.apache.pdfbox.rendering.TTFGlyph2D getPathForGID
WARNING: No glyph for 59 in font AAAAAA+DejaVuSans
Jan 28, 2020 9:13:47 AM org.apache.pdfbox.pdmodel.font.PDSimpleFont
toUnicode
WARNING: No Unicode mapping for .notdef (76) in font AAAAAA+DejaVuSans
Jan 28, 2020 9:13:47 AM org.apache.pdfbox.pdmodel.font.PDSimpleFont
toUnicode
WARNING: No Unicode mapping for .notdef (69) in font AAAAAA+DejaVuSans
Jan 28, 2020 9:13:47 AM org.apache.pdfbox.pdmodel.font.PDSimpleFont
toUnicode
WARNING: No Unicode mapping for .notdef (88) in font AAAAAA+DejaVuSans
Jan 28, 2020 9:13:47 AM org.apache.pdfbox.pdmodel.font.PDSimpleFont
toUnicode
WARNING: No Unicode mapping for .notdef (11) in font AAAAAA+DejaVuSans
Jan 28, 2020 9:13:47 AM org.apache.pdfbox.pdmodel.font.PDSimpleFont
toUnicode
WARNING: No Unicode mapping for .notdef (87) in font AAAAAA+DejaVuSans
Jan 28, 2020 9:13:47 AM org.apache.pdfbox.pdmodel.font.PDSimpleFont
toUnicode
WARNING: No Unicode mapping for .notdef (4) in font AAAAAA+DejaVuSans
Jan 28, 2020 9:13:47 AM org.apache.pdfbox.pdmodel.font.PDSimpleFont
toUnicode
WARNING: No Unicode mapping for .notdef (82) in font AAAAAA+DejaVuSans
Jan 28, 2020 9:13:47 AM org.apache.pdfbox.pdmodel.font.PDSimpleFont
toUnicode
WARNING: No Unicode mapping for .notdef (77) in font AAAAAA+DejaVuSans
Jan 28, 2020 9:13:47 AM org.apache.pdfbox.pdmodel.font.PDSimpleFont
toUnicode
WARNING: No Unicode mapping for .notdef (73) in font AAAAAA+DejaVuSans
Jan 28, 2020 9:13:47 AM org.apache.pdfbox.pdmodel.font.PDSimpleFont
toUnicode
WARNING: No Unicode mapping for .notdef (86) in font AAAAAA+DejaVuSans
Jan 28, 2020 9:13:47 AM org.apache.pdfbox.pdmodel.font.PDSimpleFont
toUnicode
WARNING: No Unicode mapping for .notdef (90) in font AAAAAA+DejaVuSans
Jan 28, 2020 9:13:47 AM org.apache.pdfbox.pdmodel.font.PDSimpleFont
toUnicode
WARNING: No Unicode mapping for .notdef (80) in font AAAAAA+DejaVuSans
Jan 28, 2020 9:13:47 AM org.apache.pdfbox.pdmodel.font.PDSimpleFont
toUnicode
WARNING: No Unicode mapping for .notdef (35) in font AAAAAA+DejaVuSans
```

Cody

On Mon, Jan 27, 2020 at 2:33 PM Tilman Hausherr <thaush...@t-online.de>
wrote:

> Hi,
> Please upload to a sharehoster, and tell what PDFBox version you are
> using and whether you get any log messages.
>
> Or is it the file from this issue?
> https://github.com/mozilla/pdf.js/issues/5501
> https://github.com/mozilla/pdf.js/blob/master/test/pdfs/issue5501.pdf
>
> Tilman
>
> Am 27.01.2020 um 21:02 schrieb Cody Holmes:
> > Hello,
> >
> > I am looking into using PDFBox for conversions from PDFs to images
> > (JPEG and PNG), and I had a few documents that I noticed some issues
> > with. The attached document (issue5501.pdf) fails to render the text
> > correctly and seems to be an issue with either an encoding or missing
> > font. Also attached the output.
> >
> > I was wondering if anyone could help me understand the issue here and
> > if it can be corrected.
> >
> > I have used another PDF converter (Aspose.PDF). That seems to
> > correctly convert the document to images.
> >
> > Thanks,
> > Cody Holmes
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
> > For additional commands, e-mail: users-h...@pdfbox.apache.org
>
>
>

Reply via email to