Fonts To Rasterize In Text Mode
In the realtext modes (svg_realtext and image_realtext), you can override real text on a font-by-font basis, causing text in the specified fonts to be drawn into the background layer instead of output as real text. In svg_realtext it is drawn as SVG vectors; in image_realtext it is rasterized into the page image.
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");