Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0.32, 3.0.3 PDFBox
-
None
Description
When using DejaVu Sans as substitute for Zapf Dingbats (introduced in PDFBOX-5905), the annotation icons on page 6 of pdfcomment.pdf are too large. The reason is that this font has a different scaling. Some debug output for the star icon:
Zapf Dingbats:
path: java.awt.geom.Rectangle2D$Float[x=35.0,y=-14.0,w=747.0,h=719.0], matrix: [0.001, 0, 0, 0.001, 0, 0]
DejaVu Sans:
path: java.awt.geom.Rectangle2D$Float[x=133.0,y=-9.0,w=1570.0,h=1490.0], matrix: [4.8828125E-4, 0, 0, 4.8828125E-4, 0, 0]
So we have to scale fonts that aren't 1/1000.
Attachments
Attachments
Issue Links
- relates to
-
PDFBOX-5905 Many ZapfDingbats symbols do not appear when page is rendered.
- Resolved
-
PDFBOX-3353 Create appearance streams for annotations
- Open