[
https://issues.apache.org/jira/browse/PDFBOX-3616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15724606#comment-15724606
]
Tilman Hausherr edited comment on PDFBOX-3616 at 12/6/16 7:18 AM:
------------------------------------------------------------------
Here's what I get when I remove the cropbox for the page with this code:
{code}
document.getPage(page).getCOSObject().removeItem(COSName.CROP_BOX);
{code}
the weirdly placed red rectangles are probably a bug related to the vertical
glyphs, i.e. a rotation matrix has been ignored. But you said you're interested
in the blue rectangles, and these are OK.
was (Author: tilman):
Here's what I get when I remove the cropbox for the page with this code:
{code}
document.getPage(page).getCOSObject().removeItem(COSName.CROP_BOX);
{code}
the weirdly placed red rectangles are probably a bug related to the vertical
glyphs. But you said you're interested in the blue rectangles, and these are OK.
> Characters shifted up
> ---------------------
>
> Key: PDFBOX-3616
> URL: https://issues.apache.org/jira/browse/PDFBOX-3616
> Project: PDFBox
> Issue Type: Bug
> Reporter: Roman
> Labels: how-to
> Attachments: 00051-2a7-00052-2a7.pdf,
> 00051-2a7-00052-2a7.pdf_page0.pdf, CropBoxMode_viewer.png,
> PDFBOX-3616-marked-1-nocrop.png, PDFBOX-3616-marked-1.png, screenshot-1.png
>
>
> We have tried this on both 1.8.12 and 2.0.3 versions and got the same result
> - character positions are shifted up.
> We are assuming X and Y positions are relative to CropBox.
> See [^screenshot-1.png], yellow highlights are upper than the texts.
> PDF doc is attached.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]