Link
Skip to main content

Fonts To Rasterize In Text Mode

In Text Modes, you can override real text on a font by font basis,

In svg_realtext text will appear as part of SVG as Vectors. This setting has no effect in other modes.

Needs to start EXCLUDE= or INCLUDE= followed by a list of comma separated fonts Comparison is case-insensitive so Arial, ARIAL and arial are the same.

Expected values:

  • INCLUDE=font1,font2,font3 … (rasterized JUST these fonts)
  • EXCLUDE=font1,font2,font3 … (rasterized all fonts EXCEPT these fonts)

For example:

  • EXCLUDE=PTSerif-Regular,Arial
  • INCLUDE=PTSerif-Regular,Arial

Default: unset

Usage Examples

Command Line

-Dorg.jpedal.pdf2html.fontsToRasterizeInTextMode="value"

Cloud

{ "org.jpedal.pdf2html.fontsToRasterizeInTextMode": "value" }

Java

conversionOptions.setFontsToRasterizeInTextMode("value");

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