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. |
eventListeners | EventListeners EventListener | readonly | A collection of event listeners. |
events | Events Event | readonly | A collection of events. |
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
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
bool checkOpenTypeFeature (using:
varies)
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. |
void createSubsetFont (charactersForSubset:
string, fontDestination:
File)
Create a copy of the font with just enough information to render the list of characters given.
Parameter | Type | Description |
---|---|---|
charactersForSubset | string | String with all the characters used in the resulting font. |
fontDestination | File | File location for the new font. |
Array of Font getElements ()
Resolves the object specifier, creating an array of object references.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the Font.
Element of
Bullet.bulletsFont
ChangeGlyphPreference.appliedFont
ChangeGrepPreference.appliedFont
ChangeGrepPreference.kentenFont
ChangeGrepPreference.rubyFont
ChangeTextPreference.appliedFont
ChangeTextPreference.kentenFont
ChangeTextPreference.rubyFont
ChangeTransliteratePreference.appliedFont
ChangeTransliteratePreference.kentenFont
ChangeTransliteratePreference.rubyFont
Character.appliedFont
Character.kentenFont
Character.rubyFont
CharacterStyle.appliedFont
CharacterStyle.kentenFont
CharacterStyle.rubyFont
CompositeFontEntry.appliedFont
FindGlyphPreference.appliedFont
FindGrepPreference.appliedFont
FindGrepPreference.kentenFont
FindGrepPreference.rubyFont
FindTextPreference.appliedFont
FindTextPreference.kentenFont
FindTextPreference.rubyFont
FindTransliteratePreference.appliedFont
FindTransliteratePreference.kentenFont
FindTransliteratePreference.rubyFont
GridDataInformation.appliedFont
InsertionPoint.appliedFont
InsertionPoint.kentenFont
InsertionPoint.rubyFont
LayoutGridDataInformation.appliedFont
Line.appliedFont
Line.kentenFont
Line.rubyFont
Paragraph.appliedFont
Paragraph.kentenFont
Paragraph.rubyFont
ParagraphStyle.appliedFont
ParagraphStyle.kentenFont
ParagraphStyle.rubyFont
Story.appliedFont
Story.kentenFont
Story.rubyFont
StoryGridDataInformation.appliedFont
Text.appliedFont
Text.kentenFont
Text.rubyFont
TextColumn.appliedFont
TextColumn.kentenFont
TextColumn.rubyFont
TextDefault.appliedFont
TextDefault.kentenFont
TextDefault.rubyFont
TextStyleRange.appliedFont
TextStyleRange.kentenFont
TextStyleRange.rubyFont
Word.appliedFont
Word.kentenFont
Word.rubyFont
XmlStory.appliedFont
XmlStory.kentenFont
XmlStory.rubyFont
Used in:
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: varies)
Font Fonts.itemByName (name: string)
Array of Font Fonts.itemByRange (from: varies, to: varies)
Font Fonts.lastItem ()
Font Fonts.middleItem ()
Font Fonts.nextItem (obj: Font)
Font Fonts.previousItem (obj: Font)
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |