java.lang.Object | |
↳ | com.pdftron.pdf.Optimizer.TextSettings |
A class that stores text optimization settings.
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
|
create an TextSettings object with default options
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.
embed | if true all fonts will be embedded. |
---|
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.
subset | if true all embedded fonts will be subsetted. |
---|