Ver. | プロパティ名 | R/O | 値 | 説明 |
  
   |
allowEditableEmbedding | ○ |
ブール型
| If true, the font can be embedded. |
  
   |
allowOutlines | ○ |
ブール型
| アウトラインが作成できるか |
  
   |
allowPDFEmbedding | ○ |
ブール型
| PDFに埋め込み可能かどうか |
  
   |
allowPrinting | ○ |
ブール型
| If true, the can font be printed. |
  
   |
fontFamily | ○ |
文字列型
| The name of the font family |
  
   |
fontStyleName | ○ |
文字列型
| The name of the font style. |
  
   |
fontStyleNameNative | ○ |
文字列型
| The native name of the font style. |
  
   |
fontType | ○ |
FontTypes
FontTypes |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
ATC | 1718894932 | ATC. |
  
   |
BITMAP | 1718895209 | Bitmap. |
  
   |
CID | 1718895433 | CID. |
  
   |
OCF | 1718898499 | OCF. |
  
   |
OPENTYPE_CFF | 1718898502 | OpenType CFF. |
  
   |
OPENTYPE_CID | 1718898505 | OpenType CID. |
  
   |
OPENTYPE_TT | 1718898516 | OpenType TT. |
  
   |
TRUETYPE | 1718899796 | TrueType. |
  
   |
TYPE_1 | 1718899761 | Type 1. |
  
   |
UNKNOWN | 1433299822 | The font type is unknown. |
| フォントの種類 (TrueType, Type1など) |
  
   |
fullName | ○ |
文字列型
| フルパス名 |
  
   |
fullNameNative | ○ |
文字列型
| The full native name of the font. |
  
   |
index | ○ |
数値型
| インデックス |
  
   |
isValid | ○ |
ブール型
| |
  
   |
location | ○ |
文字列型
| The full path to the Font. |
  
   |
name | ○ |
文字列型
| フォント名(ファミリー名+タブ+スタイル名) |
  
   |
ordering | ○ |
文字列型
| The ordering of a CID font. |
  
   |
platformName | ○ |
文字列型
| The platform font name. |
  
   |
postscriptName | ○ |
文字列型
| The PostScript name of the font. |
  
   |
registry | ○ |
文字列型
| The registry of a CID font. |
  
   |
restrictedPrinting | ○ |
ブール型
| If true, the font allows only restricted printing. |
  
   |
status | ○ |
FontStatus
FontStatus |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
FAUXED | 1718830689 | The font has been fauxed. |
  
   |
INSTALLED | 1718831470 | The font is installed. |
  
   |
NOT_AVAILABLE | 1718832705 | The font is not available. |
  
   |
SUBSTITUTED | 1718834037 | The font is a substitute. |
  
   |
UNKNOWN | 1433299822 | The font's status is unknown. |
| The status of the font. |
  
   |
version | ○ |
文字列型
| バージョン |
  
   |
writingScript | ○ |
数値型
| The writing script. |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 |
---|
| | パラメータ | 値 | | パラメータの説明 |
  
   |
addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
checkOpenTypeFeature(using) | ブール型 | OpenType機能をサポートしているか調べる |
| using |
OpenTypeFeature, 文字列型
| | The OpenType feature to check for, specified either as an OpenType feature or a string. |
  
   |
createSubsetFont(charactersForSubset, fontDestination) | なし | |
| charactersForSubset |
文字列型
| | String with all the characters used in the resulting font. |
| fontDestination |
File型
| | File location for the new font. |
  
   |
getElements() | Font | |
  
   |
removeEventListener(eventType, handler, [captures]) | ブール型 | EventListenerを削除 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
toSource() | 文字列型 | |
  
   |
toSpecifier() | 文字列型 | |