[
https://issues.apache.org/jira/browse/PDFBOX-4975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18074517#comment-18074517
]
Andreas Lehmkühler commented on PDFBOX-4975:
--------------------------------------------
Adding something like 1) makes totally sense. But I've two questions about some
details:
* How do we distinct between one and two-byte encodings? Adding some boolean
parameter?
* Omitting the origin text disables the current font subsetting code at least
for type0 fonts. Do you have some alternative implementation based?
What about the third case? AFAIU the proposal for "showEncodedText" it is
limited to hex-based string operands. What about the literal one? Should we add
another method accepting a string value to be written as operand for the "Tj"
command?
> Make PDPageContentStream non-final
> -----------------------------------
>
> Key: PDFBOX-4975
> URL: https://issues.apache.org/jira/browse/PDFBOX-4975
> Project: PDFBox
> Issue Type: Wish
> Reporter: Richard
> Priority: Major
>
> Currently {{PDPageContentStream}} is final.
> There are some situations where it would be useful to define our own
> {{PDPageContentStream}}.
> For example, in my use-case I want to be able to try multiple fonts in case
> the characters in the text are not all in one font. The library I'm using
> accepts {{PDPageContentStream}} instances, so it would be much easier to pass
> a subclass of {{PDPageContentStream}} with the desired behavior rather than
> overhaul the library itself.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]