pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: flattening text in PDPageContentStream
Date Fri, 31 May 2019 06:11:52 GMT
Am 31.05.2019 um 07:31 schrieb chitgoks:
> so i show some text in PDPageContentStream using showText() but these are
> selectable.
> is there a way to make these not selectable? like they're drawn in the page
> itself?
> anyone got ideas?
You could add it as a vector graphic. I did this for the text annotation 
appearance handler. In the trunk, get PDTextAppearanceHandler.java and 
look for addPath() and how it is called, e.g. by drawHelp().


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

View raw message