Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hidden text #14

Closed
thomas-karthe opened this issue Sep 27, 2023 · 1 comment
Closed

Hidden text #14

thomas-karthe opened this issue Sep 27, 2023 · 1 comment

Comments

@thomas-karthe
Copy link

thomas-karthe commented Sep 27, 2023

At a first glance it seems to make no sense of extracting hidden text. But some of the PDF's contain vectorgraphics for exact representation of the content and in parallel there is hidden text, to perform search functionality.

Hidden text in PDF could be extracted in a SVG group with invisible text:

<g class="HiddenText" style="fill:none;">
	<text x="100" y="200">This text is hidden</text>
</g>

This would allow search also in the SVG. The hidden text can be noticed on Strg-A within the included sample.svg

Download sample.svg

dmester added a commit that referenced this issue Oct 7, 2023
@dmester
Copy link
Owner

dmester commented Oct 7, 2023

Thanks for the suggestion. Hidden text is now included from version 0.15.0.

@dmester dmester closed this as completed Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants