public static class

Optimizer.TextSettings

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.Optimizer.TextSettings

Class Overview

A class that stores text optimization settings.

Summary

Public Constructors
TextSettings()
create an TextSettings object with default options
Public Methods
void embedFonts(boolean embed)
Sets whether fonts should be embedded.
void subsetFonts(boolean subset)
Sets whether embedded fonts will be subset.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TextSettings ()

create an TextSettings object with default options

Public Methods

public void embedFonts (boolean embed)

Sets whether fonts should be embedded. This will generally increase the size of the file, but will make the file appear the same on different machines. Font embedding is off by default.

Parameters
embed if true all fonts will be embedded.

public void subsetFonts (boolean subset)

Sets whether embedded fonts will be subset. This will generally reduce the size of fonts, but will strip font hinting. Subsetting is off by default.

Parameters
subset if true all embedded fonts will be subsetted.