Font
A font.
Font Properties
| Property |
Type |
Access |
Description |
| AllowEditableEmbedding |
Boolean |
read |
Does the font allow editable embedding. |
| AllowOutlines |
Boolean |
read |
Does the font allow the creation of outlines. |
| AllowPDFEmbedding |
Boolean |
read |
Can the font be embedded in a PDF. |
| AllowPrinting |
Boolean |
read |
Can the font be printed?. |
| FontFamily |
String |
read |
The name of the font family. |
| FontStyleName |
String |
read |
The name of the font style. |
| FontType |
idFontTypes enumeration |
read |
The type of the font (TrueType, Type1, etc.). |
| Index |
Long |
read |
Index of the object within its parent object. |
| Location |
String |
read |
The location of the font. |
| Name |
String |
read |
The name of the object. |
| Parent |
Object |
read |
The parent of the object. |
| PostScriptName |
String |
read |
The PostScript name of the font. |
| RestrictedPrinting |
Boolean |
read |
Does the font only allow restricted printing. |
| Status |
idFontStatus enumeration |
read |
The status of the font. |
Font Methods
| Method |
Returns |
Description |
| CheckOpenTypeFeature |
Boolean |
Check whether a font object supports a specific OpenType feature. Pass in either one of the enumeration values or a string with the 4 character code of the feature. |
Previous post: Fonts
Next post: FlattenerPresets