Tiny Text Removal Threshold
Removes text below the given font size in the generated output.
This prevents files containing a large amount of tiny text from creating bloated output which is slow to load and render in the web browser.
Note: This value is based on the PDF coordinate system, meaning it acts independently of the values used for the scaling and pixelsPerInch settings.
Expected values:
- Any positive float value, or 0 to disable this functionality.
Default: 0.5
Since: 2024.08
Usage Examples
Command Line
-Dorg.jpedal.pdf2html.tinyTextRemovalThreshold=1
Cloud
{ "org.jpedal.pdf2html.tinyTextRemovalThreshold": 1 }
Java
conversionOptions.setTinyTextRemovalThreshold(1f);