DL Logo

PDSysFont Enumerations

PDSysFontMatchFlagsEx

Header: DLExtrasExpT.h:569

Description

Font matching flags for PDFindSysFont().

Enum Constants

kPDSysFontMatchNameAndCharSetEx=0x0001
Match the font name and character set.
kPDSysFontMatchFontTypeEx=0x0002
Match the font type.
kPDSysFontMatchWritingModeEx=0x0004
Match the writing mode (horizontal or vertical).
kPDSysFontDontUseNameAsPrefixEx=0x0008
The Legacy behavior of System Font Matching is when all conventional attempts have failed to yield a match to treat the entire font name as a prefix to match with available fonts. This behavior worked well for names with illegal characters or Unicode where matching is difficult, the user could provide the well-known part of the font name. However this prefix matching behavior isn't always desirable, using this flag will disable it

PDSysFont Functions

PDSysFontGetFullName

Header: DLExtrasProcs.h:871

Description

This method retrieves the full font name of a system font. Note: This method only returns a meaningful result for TrueType-based technology fonts.

Syntax

ASText PDSysFontGetFullName(PDSysFont sysFont);