Link
Skip to main content

Min Font Size

Sets the minimum font size to be used. This setting is designed for content aimed at Chinese, Japanese, Korean, Thai, and other markets where the locale-specific version of Chrome has a default minimum font size of 12px (Chinese) or 10px (Japanese).

When this setting is used, any text below the provided font size will be rendered at that size and scaled down to the correct size using a CSS scale transform. Without this setting, Chrome may display text larger than intended.

More information: Chromium bug #36429

Expected values:

  • 12 (for the Chinese market)
  • 10 (for the Japanese market)
  • Any integer value

Default: 0

Since: 2021.08

Usage Examples

Command Line

-Dorg.jpedal.pdf2html.minFontSize=12

Cloud

{ "org.jpedal.pdf2html.minFontSize": 12 }

Java

conversionOptions.setMinFontSize(12);

What's included in your BuildVu trial?

  • Access to download the SDK and run it locally.
  • Access to the cloud trial to convert documents in the IDR cloud.
  • Access to the Docker image to set up your own trial server in the cloud.
  • Communicate with IDR developers to ask questions & get expert advice.
  • Plenty of time to experiment and build a proof of concept.
  • Over 100 articles to help you get started and learn about BuildVu.
  • An exceptional PDF to HTML converter that took over 20 years to build!

Start Your Free Trial