#include <Optimizer.h>
Public Member Functions | |
TextSettings () | |
void | SubsetFonts (bool subset) |
void | EmbedFonts (bool embed) |
A class that stores image text optimization settings.
Definition at line 231 of file Optimizer.h.
pdftron::PDF::TextSettings::TextSettings | ( | ) |
create an TextSettings object with default options
void pdftron::PDF::TextSettings::EmbedFonts | ( | bool | 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.
embed | if true all fonts will be embedded. |
void pdftron::PDF::TextSettings::SubsetFonts | ( | bool | 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.
subset | if true all embedded fonts will be subsetted. |