You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (Jira)" <ji...@apache.org> on 2022/03/22 06:45:00 UTC

[jira] [Assigned] (PDFBOX-5391) showGlyph override not working

     [ https://issues.apache.org/jira/browse/PDFBOX-5391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler reassigned PDFBOX-5391:
------------------------------------------

    Assignee: Andreas Lehmkühler

> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org