Fonts

Font(フォント)のコレクション

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] length 数値オブジェクト数

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] anyItem() Fontどれかのオブジェクトを返す
[18][19][20][21] count() 数値要素数を返す
[18][19][20][21] everyItem() Font (Array)全てのオブジェクトを返す
[18][19][20][21] firstItem() Font最初のオブジェクトを返す
[18][19][20][21] item(index) Fontインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[18][19][20][21] itemByName(name) Font名前で指定したオブジェクトを返す
name 文字列値
[18][19][20][21] itemByRange(from, to) Font (Array)範囲で指定したオブジェクトを返す
from Font, 数値, 文字列値範囲の開始
to Font, 数値, 文字列値範囲の終了
[18][19][20][21] lastItem() Font最後のオブジェクトを返す
[18][19][20][21] middleItem() Font真ん中のオブジェクトを返す
[18][19][20][21] nextItem(obj) Font一つ後のオブジェクトを返す
obj Font位置の基準になるオブジェクト
[18][19][20][21] previousItem(obj) Font一つ前のオブジェクトを返す
obj Font位置の基準になるオブジェクト
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す

Font

フォント

プロパティ(parentとその逆)

Ver.プロパティR/O
[18][19][20][21] parent Document, Application
[18][19][20][21] eventListeners EventListeners
[18][19][20][21] events Events

プロパティ

Ver.プロパティ名R/O説明
[18][19][20][21] allowEditableEmbedding 真偽値埋め込み可能かどうか
[18][19][20][21] allowOutlines 真偽値アウトラインが作成できるか
[18][19][20][21] allowPDFEmbedding 真偽値PDFに埋め込み可能かどうか
[18][19][20][21] allowPrinting 真偽値印刷可能かどうか
[18][19][20][21] designAxesName Array( 文字列値 )The name of design axes in variable font.
[18][19][20][21] designAxesRange Array of Arrays of 2 RealsRange of design axes in variable font.
[18][19][20][21] designAxesValues Array( 数値 )Value of design axes in variable font.
[18][19][20][21] fontFamily 文字列値ファミリー名
[18][19][20][21] fontStyleName 文字列値スタイル名
[18][19][20][21] fontStyleNameNative 文字列値日本語のスタイル名
[18][19][20][21] fontType FontTypes
FontTypes
Ver.プロパティ値/管理用文字説明
[18][19][20][21]ATC1718894932
ftAT
ATC.
[18][19][20][21]BITMAP1718895209
ftBi
Bitmap.
[18][19][20][21]CID1718895433
ftCI
CID.
[18][19][20][21]OCF1718898499
ftOC
OCF.
[18][19][20][21]OPENTYPE_CFF1718898502
ftOF
OpenType CFF.
[18][19][20][21]OPENTYPE_CID1718898505
ftOI
OpenType CID.
[18][19][20][21]OPENTYPE_TT1718898516
ftOT
OpenType TT.
[18][19][20][21]TRUETYPE1718899796
ftTT
TrueType.
[18][19][20][21]TYPE_11718899761
ftT1
Type 1.
[18][19][20][21]UNKNOWN1433299822
Unkn
The font type is unknown.
フォントの種類 (TrueType, Type1など)
[18][19][20][21] fullName 文字列値フォント名
[18][19][20][21] fullNameNative 文字列値日本語のフォント名
[18][19][20][21] index 数値インデックス
[18][19][20][21] isValid 真偽値オブジェクトが有効かどうか
[18][19][20][21] location 文字列値フルパス名/Typekit/システムなど
[18][19][20][21] name 文字列値フォント名(ファミリー名+タブ+スタイル名)
[18][19][20][21] numDesignAxes 数値Number of design axes in variable font.
[18][19][20][21] ordering 文字列値Japan1/Identityなど
[18][19][20][21] platformName 文字列値OSに依存するフォント名
[18][19][20][21] postscriptName 文字列値ポストスクリプト名
[18][19][20][21] properties Object
[18][19][20][21] registry 文字列値著作者名
[18][19][20][21] restrictedPrinting 真偽値If true, the font allows only restricted printing.
[18][19][20][21] status FontStatus
FontStatus
Ver.プロパティ値/管理用文字説明
[18][19][20][21]FAUXED1718830689
fsFa
The font has been fauxed.
[18][19][20][21]INSTALLED1718831470
fsIn
The font is installed.
[18][19][20][21]NOT_AVAILABLE1718832705
fsNA
The font is not available.
[18][19][20][21]SUBSTITUTED1718834037
fsSu
The font is a substitute.
[18][19][20][21]UNKNOWN1433299822
Unkn
The font's status is unknown.
状態
[18][19][20][21] version 文字列値バージョン
[18][19][20][21] writingScript 数値The writing script.

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[18][19][20][21] addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] checkOpenTypeFeature(using) 真偽値OpenType機能をサポートしているか調べる
using OpenTypeFeature, 文字列値
[18][19][20][21] createSubsetFont(charactersForSubset, fontDestination) なしCreate a copy of the font with just enough information to render the list of characters given.
charactersForSubset 文字列値含める文字
fontDestination ファイルフォントファイル名
[18][19][20][21] getElements() Array( Font )オブジェクト参照を返す
[18][19][20][21] removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[18][19][20][21] toSource() 文字列値ソースコードを表す文字列を返す
[18][19][20][21] toSpecifier() 文字列値Retrieves the object specifier.