pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-4368) How to get the polygon vertices of a bounding box ?
Date Sun, 04 Nov 2018 17:05:00 GMT

    [ https://issues.apache.org/jira/browse/PDFBOX-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16674441#comment-16674441

Tilman Hausherr commented on PDFBOX-4368:

There's what you can see in the example I mentioned, you can get the path of a font.

Btw can you share the PDF of these screenshots? I wonder how the example code is doing.

> How to get the polygon vertices of a bounding box ?
> ---------------------------------------------------
>                 Key: PDFBOX-4368
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4368
>             Project: PDFBox
>          Issue Type: Wish
>    Affects Versions: 2.0.12
>            Reporter: Alexandre
>            Priority: Minor
>              Labels: how-to
>         Attachments: scan3.png, sheered.png
> Dear contributors,
> Is there a way to get the vertices (x,y) of a bounding box ? The current object BoundingBox
from font.getBoundingBox() returns two points [getLowerLeftX() getLowerLeftY()] and [getUpperLeftX()
> I wish I could get the two other points when the box is not rectangle (for rotated or
shrinked chars).
> A.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org

View raw message