Link
Skip to main content

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);

Get started with BuildVu in 3 steps

  1. Fill in the form to download the trial jar →
  2. Copy the code snippets as instructed on the next page
  3. Build your solution using our docs

Learn more about BuildVu

Start Your Free Trial

Trial License Type