[
https://issues.apache.org/jira/browse/PDFBOX-3056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14977562#comment-14977562
]
John Hewson commented on PDFBOX-3056:
-------------------------------------
Oh, there are two parts of PDFTextStreamEngine#onGlyph which you might want to
keep (but both are non-standard w.r.t PDF so we don't expose them in
PDFStreamEngine). The first is the additional.txt glyph list (which you're free
to update), the second is the Acrobat-like fallback behaviour for Unicode
following the "when there is no Unicode mapping available [...]" comment.
> Make PDFTextStreamEngine public
> -------------------------------
>
> Key: PDFBOX-3056
> URL: https://issues.apache.org/jira/browse/PDFBOX-3056
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Ben McCann
> Fix For: 2.0.0
>
>
> I'd like to experiment with writing my own text extractor that works better
> for my use case than PDFTextStripper does. Hopefully I can port some of the
> improvements to PDFTextStripper if I get something working well. I'd really
> like PDFTextStreamEngine and its constructor to have increased visibility as
> I believe that it's pretty reasonable for people to be able write their own
> PDFTextStrippers without having to reimplement showGlyph.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]