|
bool | TryGetSubstituteFont (PdfFont *&substFont) const |
|
void | WriteStringToStream (OutputStream &stream, const std::string_view &str) const |
|
unsigned | GetGID (char32_t codePoint, PdfGlyphAccess access) const |
|
double | GetStringLength (const std::string_view &str, const PdfTextState &state) const |
|
bool | TryGetStringLength (const std::string_view &str, const PdfTextState &state, double &width) const |
|
double | GetEncodedStringLength (const PdfString &encodedStr, const PdfTextState &state) const |
|
bool | TryGetEncodedStringLength (const PdfString &encodedStr, const PdfTextState &state, double &length) const |
|
bool | TryScanEncodedString (const PdfString &encodedStr, const PdfTextState &state, std::string &utf8str, std::vector< double > &lengths, std::vector< unsigned > &positions) const |
|
double | GetWordSpacingLength (const PdfTextState &state) const |
|
double | GetCharLength (char32_t codePoint, const PdfTextState &state, bool ignoreCharSpacing=false) const |
|
void | AddSubsetGIDs (const PdfString &encodedStr) |
|
double | GetLineSpacing (const PdfTextState &state) const |
|
double | GetUnderlineThickness (const PdfTextState &state) const |
|
double | GetUnderlinePosition (const PdfTextState &state) const |
|
double | GetStrikeThroughPosition (const PdfTextState &state) const |
|
double | GetStrikeThroughThickness (const PdfTextState &state) const |
|
double | GetAscent (const PdfTextState &state) const |
|
double | GetDescent (const PdfTextState &state) const |
|
bool | IsCIDKeyed () const |
|
virtual bool | IsObjectLoaded () const |
|
bool | IsSubsettingEnabled () const |
|
const std::string & | GetSubsetPrefix () const |
|
const PdfName & | GetIdentifier () const |
|
const PdfEncoding & | GetEncoding () const |
|
const PdfFontMetrics & | GetMetrics () const |
|
const std::string & | GetName () const |
|
static bool | TryCreateFromObject (PdfObject &obj, std::unique_ptr< PdfFont > &font) |
|
static bool | IsStandard14Font (const std::string_view &fontName, PdfStandard14FontType &stdFont) |
|
static bool | IsStandard14Font (const std::string_view &fontName, bool useAltNames, PdfStandard14FontType &stdFont) |
|
This is a common base class for simple, non CID-keyed fonts like Type1, TrueType and Type3