Font
Overview
Font is a class in Aspose.PDF FOSS for C++.
The Font class lets developers query whether a font is embedded in the PDF and whether it is subsetted, enabling compliance checks for PDF/A.
This class provides 6 methods for working with Font objects in C++ programs.
Available methods include: BaseFont, FontName, IsEmbedded, IsSubset.
All public members are accessible to any C++ application after installing the Aspose.PDF FOSS for C++ package.
Methods
| Signature | Description |
|---|---|
FontName() → std::string | Calls FontName on this Font instance. |
BaseFont() → std::string | Calls BaseFont on this Font instance. |
IsEmbedded() → bool | Returns true if embedded is set. |
IsEmbedded(value: bool) | Calls IsEmbedded(value) on this Font instance. |
IsSubset() → bool | Returns true if subset is set. |
IsSubset(value: bool) | Calls IsSubset(value) on this Font instance. |