[
https://issues.apache.org/jira/browse/PDFBOX-5391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17510915#comment-17510915
]
Benjamin commented on PDFBOX-5391:
----------------------------------
Hi,
The unicode character is important, as it provides the info as to the
caharacter that is being shown,
REgards,
Benjamin James
Senior Manager Data Analytics and Innovation
[Nexia Edwards Marshall]
<https://www.nexiaem.com.au/>Nexia Edwards Marshall Pty Ltd | ABN 62 126 016 582
Level 3 153 Flinders Street Adelaide SA 5000
GPO Box 2163 Adelaide SA 5001
t +61 8 8139 1111 | d +61 8 8139 1143
f +61 8 8139 1100
e [email protected]<mailto:[email protected]> | w
nexiaem.com.au<https://www.nexiaem.com.au/>
Locations: Adelaide<https://nexiaem.com.au/> | Darwin<http://nexiaemnt.com.au/>
Liability limited by a scheme approved under Professional Standards Legislation.
Please click here to view the full email
disclaimer.<https://www.nexiaem.com.au/disclaimer/>
Please consider the environment before printing this email.
> showGlyph override not working
> ------------------------------
>
> Key: PDFBOX-5391
> URL: https://issues.apache.org/jira/browse/PDFBOX-5391
> Project: PDFBox
> Issue Type: Wish
> Affects Versions: 3.0.0 PDFBox
> Reporter: Benjamin
> Assignee: Andreas Lehmkühler
> Priority: Major
>
> I use the showGlyph function by extending
> org.apache.pdfbox.text.PDFTextStripperByArea, when testing using the
> 3.0.0-RC1 this was not working, the error is that it does not override or
> implement a method from a supertype, because the pdfbox I am using has a
> different showGlyph signature.
> The signature I am using, as per
> https://pdfbox.apache.org/docs/2.0.1/javadocs/org/apache/pdfbox/text/PDFTextStripperByArea.html#showGlyph(org.apache.pdfbox.util.Matrix,%20org.apache.pdfbox.pdmodel.font.PDFont,%20int,%20java.lang.String,%20org.apache.pdfbox.util.Vector)
>
> showGlyph(Matrix textRenderingMatrix, PDFont font, int code, String unicode,
> Vector displacement)
> the signature in 3 that is coming through with the error is:
> showGlyph(Matrix textRenderingMatrix, PDFont font, int code, Vector
> displacement)
> When I drill into the super, this is not the signature that I see, which is
> the same as in 2, but it is the signature that I am gettign an error from
> when parsing using 17.0.2 openjdk - I can't explain this but can't get
> through it either.
> To test, try to override the showGlyph by extending
> org.apache.pdfbox.text.PDFTextStripperByArea;
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]