[
https://issues.apache.org/jira/browse/PDFBOX-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13820209#comment-13820209
]
Tilman Hausherr commented on PDFBOX-1773:
-----------------------------------------
More about the confidential file: if I change PageDrawer.java so that it simply
returns when
if (font.isType3Font())
then the non-Type3 fonts render properly. The page starts with a type3 font.
Here's a trace of what it attempts to do:
12.11.2013 15:41:00.230 INFO [main] org.apache.pdfbox.pdfviewer.PageDrawer:281
- Type3 font 'null', draw 'A' at 428.05,132.85004
....
12.11.2013 15:41:00.308 INFO [main] org.apache.pdfbox.pdfviewer.PageDrawer:281
- TrueType font 'ArialMT', draw 'S' at 428.05,184.60004
....
If I do not exclude the type3 part, I get this for the TT font:
12.11.2013 16:11:32.362 INFO [main] org.apache.pdfbox.pdfviewer.PageDrawer:281
- TrueType font 'ArialMT', draw 'S' at 520.31744,126.508484
So the text moves to the right due to the type3 part. And who knows what else.
> Regression? Type 3 Fonts are not processed by RenderUtil.convertToImage
> -----------------------------------------------------------------------
>
> Key: PDFBOX-1773
> URL: https://issues.apache.org/jira/browse/PDFBOX-1773
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.0
> Environment: XP
> Reporter: Tilman Hausherr
> Labels: Type3
> Attachments: PDFBOX-1628-01-rev 1535956.png, PDFBOX-1628.pdf,
> PDFBOX-1628.pdf-1.png, PDFBOX-31-yeung_inv-01-patch.png,
> PDFBOX-31-yeung_inv-01-rev 1535956.png, PDFBOX-31-yeung_inv.pdf,
> PDFBOX-31-yeung_inv.pdf-1.png, type3_2.patch
>
>
> I have a (confidential) PDF file that I wanted to check and it comes up
> mostly empty. It has type3 fonts. Luckily, I found two closed issues
> (PDFBOX-31 and PDFBOX-1628) with test images that render mostly empty.
--
This message was sent by Atlassian JIRA
(v6.1#6144)