Font
A font.
Go to Property Listing | Method Listing
Methods:
addEventListener, checkOpenTypeFeature, createSubsetFont, getElements, removeEventListener, toSource, toSpecifier
Objects:
Boolean, EventListeners, Events, FontStatus, FontTypes, Number, Object, String,
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
If true, the font can be embedded. |
||
readonly |
If true, the font can be converted to outlines. |
||
readonly |
If true, the font can be embedded in a PDF document. |
||
readonly |
If true, the can font be printed. |
||
readonly |
The name of design axes in variable font. |
||
Array of Arrays of 2 Reals. |
readonly |
Range of design axes in variable font. Can return: Array of Arrays of 2 Reals. |
|
readonly |
Value of design axes in variable font. |
||
readonly |
A collection of event listeners. |
||
readonly |
A collection of events. |
||
readonly |
The name of the font family |
||
readonly |
The name of the font style. |
||
readonly |
The native name of the font style. |
||
readonly |
The type of font. |
||
readonly |
The full font name. |
||
readonly |
The full native name of the font. |
||
readonly |
The index of the Font within its containing object. |
||
readonly |
Returns true if the object specifier resolves to valid objects. |
||
readonly |
The full path to the Font. |
||
readonly |
The name of the Font. |
||
readonly |
Number of design axes in variable font. |
||
readonly |
The ordering of a CID font. |
||
readonly |
The parent of the Font (a Document or Application). |
||
readonly |
The platform font name. |
||
readonly |
The PostScript name of the font. |
||
read/write |
A property that allows setting of several properties at the same time. |
||
readonly |
The registry of a CID font. |
||
readonly |
If true, the font allows only restricted printing. |
||
readonly |
The status of the font. |
||
readonly |
The font version. |
||
readonly |
The writing script. |
Method Listing
EventListener addEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Adds an event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The event type. |
|
handler |
JavaScriptFunction |
The event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
Boolean checkOpenTypeFeature (using:Varies OpenTypeFeature String)
Checks whether the font supports the specified OpenType feature.
Parameter |
Type |
Description |
---|---|---|
using |
The OpenType feature to check for, specified either as an OpenType feature or a string. Can accept: OpenTypeFeature enumerator or String. |
undefined 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 with all the characters used in the resulting font. |
|
fontDestination |
File location for the new font. |
Font getElements ()
Resolves the object specifier, creating an array of object references.
Boolean removeEventListener (eventType:String, handler:Varies File JavaScriptFunction, [captures:Boolean=Boolean])
Removes the event listener.
Parameter |
Type |
Description |
---|---|---|
eventType |
The registered event type. |
|
handler |
JavaScriptFunction |
The registered event handler. Can accept: File or JavaScript Function. |
captures |
This parameter is obsolete. (Optional) (default: false) |
String toSource ()
Generates a string which, if executed, will return the Font.
String toSpecifier ()
Retrieves the object specifier.
Object of
Bullet.bulletsFont
TextDefault.rubyFont
Text.rubyFont
Character.rubyFont
Word.rubyFont
Line.rubyFont
TextColumn.rubyFont
Paragraph.rubyFont
TextStyleRange.rubyFont
InsertionPoint.rubyFont
Story.rubyFont
ParagraphStyle.rubyFont
XmlStory.rubyFont
FindTextPreference.rubyFont
FindGrepPreference.rubyFont
FindTransliteratePreference.rubyFont
ChangeTextPreference.rubyFont
ChangeGrepPreference.rubyFont
ChangeTransliteratePreference.rubyFont
CharacterStyle.rubyFont
ChangeGlyphPreference.appliedFont
ChangeGrepPreference.appliedFont
ChangeTextPreference.appliedFont
ChangeTransliteratePreference.appliedFont
Character.appliedFont
CharacterStyle.appliedFont
CompositeFontEntry.appliedFont
FindGlyphPreference.appliedFont
FindGrepPreference.appliedFont
FindTextPreference.appliedFont
FindTransliteratePreference.appliedFont
GridDataInformation.appliedFont
InsertionPoint.appliedFont
LayoutGridDataInformation.appliedFont
Line.appliedFont
Paragraph.appliedFont
ParagraphStyle.appliedFont
Story.appliedFont
StoryGridDataInformation.appliedFont
Text.appliedFont
TextColumn.appliedFont
TextDefault.appliedFont
TextStyleRange.appliedFont
Word.appliedFont
XmlStory.appliedFont
TextDefault.kentenFont
Text.kentenFont
Character.kentenFont
Word.kentenFont
Line.kentenFont
TextColumn.kentenFont
Paragraph.kentenFont
TextStyleRange.kentenFont
InsertionPoint.kentenFont
Story.kentenFont
ParagraphStyle.kentenFont
XmlStory.kentenFont
FindTextPreference.kentenFont
FindGrepPreference.kentenFont
FindTransliteratePreference.kentenFont
ChangeTextPreference.kentenFont
ChangeGrepPreference.kentenFont
ChangeTransliteratePreference.kentenFont
CharacterStyle.kentenFont
Event.parent
EventListener.parent
MutationEvent.parent