Font
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
allowEditableEmbedding | bool | readonly | If true, the font can be embedded. |
allowOutlines | bool | readonly | If true, the font can be converted to outlines. |
allowPDFEmbedding | bool | readonly | If true, the font can be embedded in a PDF document. |
allowPrinting | bool | readonly | If true, the can font be printed. |
fontFamily | string | readonly | The name of the font family |
fontStyleName | string | readonly | The name of the font style. |
fontStyleNameNative | string | readonly | The native name of the font style. |
fontType | FontTypes: FontTypes.TYPE_1 FontTypes.TRUETYPE FontTypes.CID FontTypes.ATC FontTypes.BITMAP FontTypes.OCF FontTypes.OPENTYPE_CFF FontTypes.OPENTYPE_CID FontTypes.OPENTYPE_TT FontTypes.UNKNOWN |
readonly | The type of font. |
fullName | string | readonly | The full font name. |
fullNameNative | string | readonly | The full native name of the font. |
index | number | readonly | The index of the Font within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
location | string | readonly | The full path to the Font. |
name | string | readonly | The name of the Font. |
ordering | string | readonly | The ordering of a CID font. |
parent | Application Document |
readonly | The parent of the Font (a Document or Application). |
platformName | string | readonly | The platform font name. |
postscriptName | string | readonly | The PostScript name of the font. |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
registry | string | readonly | The registry of a CID font. |
restrictedPrinting | bool | readonly | If true, the font allows only restricted printing. |
status | FontStatus: FontStatus.INSTALLED FontStatus.NOT_AVAILABLE FontStatus.FAUXED FontStatus.SUBSTITUTED FontStatus.UNKNOWN |
readonly | The status of the font. |
version | string | readonly | The font version. |
writingScript | number | readonly | The writing script. |
Methods
Instances
bool checkOpenTypeFeature (using:
any)
Checks whether the font supports the specified OpenType feature.
Parameter | Type | Description |
---|---|---|
using | OpenTypeFeature String | The OpenType feature to check for, specified either as an OpenType feature or a string. Can accept: OpenTypeFeature enumerator or String. |
Array of Font getElements ()
Resolves the object specifier, creating an array of object references.
string toSource ()
Generates a string which, if executed, will return the Font.
string toSpecifier ()
Retrieves the object specifier.
Element of
Bullet.bulletsFont
ChangeGlyphPreference.appliedFont
ChangeGrepPreference.appliedFont
ChangeTextPreference.appliedFont
Character.appliedFont
CharacterStyle.appliedFont
FindGlyphPreference.appliedFont
FindGrepPreference.appliedFont
FindTextPreference.appliedFont
InsertionPoint.appliedFont
Line.appliedFont
Paragraph.appliedFont
ParagraphStyle.appliedFont
Story.appliedFont
Text.appliedFont
TextColumn.appliedFont
TextDefault.appliedFont
TextStyleRange.appliedFont
Word.appliedFont
XmlStory.appliedFont
Used in:
array of Font Fonts.itemByRange (from: any, to: any)
Font Fonts.nextItem (obj: Font)
Font Fonts.previousItem (obj: Font)
Return
Array of Font Font.getElements ()
Font Fonts.[] (index: number)
Font Fonts.anyItem ()
Array of Font Fonts.everyItem ()
Font Fonts.firstItem ()
Font Fonts.item (index: any)
Font Fonts.itemByName (name: string)
Array of Font Fonts.itemByRange (from: any, to: any)
Font Fonts.lastItem ()
Font Fonts.middleItem ()
Font Fonts.nextItem (obj: Font)
Font Fonts.previousItem (obj: Font)
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |