Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.6.0, 1.8.4, 1.8.5
-
None
-
None
-
MacOS 10.6, Windows 7, Ubuntu 10.10
Description
TestRender.pdf adds an odd-looking (different font?)
question mark to the end of every line. These are not present in
the original PDF file. Tested On:
- Mac OS 10.6
- Windows 7
- Ubuntu 10.10
Attachments
Attachments
Issue Links
- is duplicated by
-
PDFBOX-490 Pdf Printing of text from embedded fonts
- Closed
Activity
Tilman Hausherr
made changes -
Fix Version/s | 2.0.0 [ 12319281 ] | |
Resolution | Duplicate [ 3 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Tilman Hausherr
made changes -
Link |
This issue is duplicated by |
Tilman Hausherr
made changes -
Fix Version/s | 2.0.0 [ 12319281 ] |
Tilman Hausherr
made changes -
Affects Version/s | 1.8.4 [ 12325661 ] | |
Affects Version/s | 1.8.5 [ 12326163 ] |
John Hewson
made changes -
Component/s | Rendering [ 12322302 ] | |
Component/s | PDModel [ 12312224 ] |
Sarah Kelley
made changes -
Attachment | sakelley_pdf_rendering_problem.zip [ 12486907 ] |
Sarah Kelley
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | TestRender.pdf [ 12486904 ] |
Sarah Kelley
created issue -
Example of a sequence in that PDF:
/F3.0 1 Tf (import javax.imageio.metadata.*;) Tj /F3.1 1 Tf (!) Tj ET
Tf = select font
TJ = show text
ET = end text object
So the "/F3.1" font has this exclamation mark. This is an embedded font that has only one glyph: 33, which is just that. According to my own 2.0 version, code 33 has a null path. In 1.8 it is tried to read the embedded font with awt; createFont() fails with a "FontFormatException: Font name not found", and plan B is to use an awt font, which shows us the "!".
In other words:
PDFBOX-490=> duplicate