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

SignatureDescription
FontName()std::stringCalls FontName on this Font instance.
BaseFont()std::stringCalls BaseFont on this Font instance.
IsEmbedded()boolReturns true if embedded is set.
IsEmbedded(value: bool)Calls IsEmbedded(value) on this Font instance.
IsSubset()boolReturns true if subset is set.
IsSubset(value: bool)Calls IsSubset(value) on this Font instance.

See Also