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. |
fontType | FontTypes: FontTypes.TYPE_1 FontTypes.TRUETYPE FontTypes.CID FontTypes.ATC FontTypes.BITMAP FontTypes.OCF FontTypes.OPENTYPE_CFF FontTypes.OPENTYPE_CID FontTypes.OPENTYPE_TT |
readonly | The type of font. |
index | number | readonly | The index of the Font within its containing object. |
location | string | readonly | The full path to the Font. |
name | string | readonly | The name of the Font. |
parent | Application Document |
readonly | The parent of the Font (a Document or Application). |
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. |
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. |
Methods
Instances
bool checkOpenTypeFeature (using:
OpenTypeFeature)
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
Parameter | Type | Description |
---|---|---|
using | OpenTypeFeature: OpenTypeFeature.LOW OpenTypeFeature.DISCRETIONARY_LIGATURES_FEATURE OpenTypeFeature.FRACTIONS_FEATURE OpenTypeFeature.ORDINAL_FEATURE OpenTypeFeature.SWASH_FEATURE OpenTypeFeature.TITLING_FEATURE OpenTypeFeature.CONTEXTUAL_ALTERNATES_FEATURE OpenTypeFeature.ALL_SMALL_CAPS_FEATURE OpenTypeFeature.SUPERSCRIPT_FEATURE OpenTypeFeature.SUBSCRIPT_FEATURE OpenTypeFeature.NUMERATOR_FEATURE OpenTypeFeature.DENOMINATOR_FEATURE OpenTypeFeature.TABULAR_LINING_FEATURE OpenTypeFeature.PROPORTIONAL_OLDSTYLE_FEATURE OpenTypeFeature.PROPORTIONAL_LINING_FEATURE OpenTypeFeature.TABULAR_OLDSTYLE_FEATURE OpenTypeFeature.DEFAULT_FIGURE_STYLE_FEATURE OpenTypeFeature.OVERLAP_SWASH OpenTypeFeature.STYLISTIC_ALTERNATE OpenTypeFeature.JUSTIFICATION_ALTERNATE OpenTypeFeature.STRETCHED_ALTERNATE | Which OpenType feature to use |
Element of
ChangePreference.appliedFont
ChangePreference.bulletsAndNumberingFont
Character.appliedFont
Character.bulletsAndNumberingFont
CharacterStyle.appliedFont
FindPreference.appliedFont
FindPreference.bulletsAndNumberingFont
InsertionPoint.appliedFont
InsertionPoint.bulletsAndNumberingFont
Line.appliedFont
Line.bulletsAndNumberingFont
Paragraph.appliedFont
Paragraph.bulletsAndNumberingFont
ParagraphStyle.appliedFont
ParagraphStyle.bulletsAndNumberingFont
Story.appliedFont
Story.bulletsAndNumberingFont
Text.appliedFont
Text.bulletsAndNumberingFont
TextColumn.appliedFont
TextColumn.bulletsAndNumberingFont
TextDefault.appliedFont
TextDefault.bulletsAndNumberingFont
TextStyleRange.appliedFont
TextStyleRange.bulletsAndNumberingFont
Word.appliedFont
Word.bulletsAndNumberingFont
Used in:
void Character.applyBullets ([bulletChar: number][, bulletType: Bulletcharactertype][, bulletFont: any][, bulletFontStyle: string][, bulletSize: number][, bulletColor: Swatch][, bulletAlignment: ListAlignment=ListAlignment.HANGING_LIST][, listLeftIndent: number][, listFirstLineIndent: number][, listFirstTabPosition: number])
void Character.applyNumbers ([numberingStyle: NumberingStyle][, numberingSeparator: number][, startingValue: number][, numberFont: any][, numberFontStyle: string][, numberSize: number][, numberColor: Swatch][, numberAlignment: ListAlignment=ListAlignment.HANGING_LIST][, listLeftIndent: number][, listFirstLineIndent: number][, listFirstTabPosition: number])
void InsertionPoint.applyBullets ([bulletChar: number][, bulletType: Bulletcharactertype][, bulletFont: any][, bulletFontStyle: string][, bulletSize: number][, bulletColor: Swatch][, bulletAlignment: ListAlignment=ListAlignment.HANGING_LIST][, listLeftIndent: number][, listFirstLineIndent: number][, listFirstTabPosition: number])
void InsertionPoint.applyNumbers ([numberingStyle: NumberingStyle][, numberingSeparator: number][, startingValue: number][, numberFont: any][, numberFontStyle: string][, numberSize: number][, numberColor: Swatch][, numberAlignment: ListAlignment=ListAlignment.HANGING_LIST][, listLeftIndent: number][, listFirstLineIndent: number][, listFirstTabPosition: number])
void Line.applyBullets ([bulletChar: number][, bulletType: Bulletcharactertype][, bulletFont: any][, bulletFontStyle: string][, bulletSize: number][, bulletColor: Swatch][, bulletAlignment: ListAlignment=ListAlignment.HANGING_LIST][, listLeftIndent: number][, listFirstLineIndent: number][, listFirstTabPosition: number])
void Line.applyNumbers ([numberingStyle: NumberingStyle][, numberingSeparator: number][, startingValue: number][, numberFont: any][, numberFontStyle: string][, numberSize: number][, numberColor: Swatch][, numberAlignment: ListAlignment=ListAlignment.HANGING_LIST][, listLeftIndent: number][, listFirstLineIndent: number][, listFirstTabPosition: number])
void Paragraph.applyBullets ([bulletChar: number][, bulletType: Bulletcharactertype][, bulletFont: any][, bulletFontStyle: string][, bulletSize: number][, bulletColor: Swatch][, bulletAlignment: ListAlignment=ListAlignment.HANGING_LIST][, listLeftIndent: number][, listFirstLineIndent: number][, listFirstTabPosition: number])
void Paragraph.applyNumbers ([numberingStyle: NumberingStyle][, numberingSeparator: number][, startingValue: number][, numberFont: any][, numberFontStyle: string][, numberSize: number][, numberColor: Swatch][, numberAlignment: ListAlignment=ListAlignment.HANGING_LIST][, listLeftIndent: number][, listFirstLineIndent: number][, listFirstTabPosition: number])
void Story.applyBullets ([bulletChar: number][, bulletType: Bulletcharactertype][, bulletFont: any][, bulletFontStyle: string][, bulletSize: number][, bulletColor: Swatch][, bulletAlignment: ListAlignment=ListAlignment.HANGING_LIST][, listLeftIndent: number][, listFirstLineIndent: number][, listFirstTabPosition: number])
void Story.applyNumbers ([numberingStyle: NumberingStyle][, numberingSeparator: number][, startingValue: number][, numberFont: any][, numberFontStyle: string][, numberSize: number][, numberColor: Swatch][, numberAlignment: ListAlignment=ListAlignment.HANGING_LIST][, listLeftIndent: number][, listFirstLineIndent: number][, listFirstTabPosition: number])
void Text.applyBullets ([bulletChar: number][, bulletType: Bulletcharactertype][, bulletFont: any][, bulletFontStyle: string][, bulletSize: number][, bulletColor: Swatch][, bulletAlignment: ListAlignment=ListAlignment.HANGING_LIST][, listLeftIndent: number][, listFirstLineIndent: number][, listFirstTabPosition: number])
void Text.applyNumbers ([numberingStyle: NumberingStyle][, numberingSeparator: number][, startingValue: number][, numberFont: any][, numberFontStyle: string][, numberSize: number][, numberColor: Swatch][, numberAlignment: ListAlignment=ListAlignment.HANGING_LIST][, listLeftIndent: number][, listFirstLineIndent: number][, listFirstTabPosition: number])
void TextColumn.applyBullets ([bulletChar: number][, bulletType: Bulletcharactertype][, bulletFont: any][, bulletFontStyle: string][, bulletSize: number][, bulletColor: Swatch][, bulletAlignment: ListAlignment=ListAlignment.HANGING_LIST][, listLeftIndent: number][, listFirstLineIndent: number][, listFirstTabPosition: number])
void TextColumn.applyNumbers ([numberingStyle: NumberingStyle][, numberingSeparator: number][, startingValue: number][, numberFont: any][, numberFontStyle: string][, numberSize: number][, numberColor: Swatch][, numberAlignment: ListAlignment=ListAlignment.HANGING_LIST][, listLeftIndent: number][, listFirstLineIndent: number][, listFirstTabPosition: number])
void TextStyleRange.applyBullets ([bulletChar: number][, bulletType: Bulletcharactertype][, bulletFont: any][, bulletFontStyle: string][, bulletSize: number][, bulletColor: Swatch][, bulletAlignment: ListAlignment=ListAlignment.HANGING_LIST][, listLeftIndent: number][, listFirstLineIndent: number][, listFirstTabPosition: number])
void TextStyleRange.applyNumbers ([numberingStyle: NumberingStyle][, numberingSeparator: number][, startingValue: number][, numberFont: any][, numberFontStyle: string][, numberSize: number][, numberColor: Swatch][, numberAlignment: ListAlignment=ListAlignment.HANGING_LIST][, listLeftIndent: number][, listFirstLineIndent: number][, listFirstTabPosition: number])
void Word.applyBullets ([bulletChar: number][, bulletType: Bulletcharactertype][, bulletFont: any][, bulletFontStyle: string][, bulletSize: number][, bulletColor: Swatch][, bulletAlignment: ListAlignment=ListAlignment.HANGING_LIST][, listLeftIndent: number][, listFirstLineIndent: number][, listFirstTabPosition: number])
void Word.applyNumbers ([numberingStyle: NumberingStyle][, numberingSeparator: number][, startingValue: number][, numberFont: any][, numberFontStyle: string][, numberSize: number][, numberColor: Swatch][, numberAlignment: ListAlignment=ListAlignment.HANGING_LIST][, listLeftIndent: number][, listFirstLineIndent: number][, listFirstTabPosition: number])
Jongware, 27-Jun-2010 v3.0.3d | Contents :: Index |