listTrueTypeFonts
利用可能な TrueType フォントのリスト
説明
は、システムにインストールされている TrueType フォント名を並べ替えた cell 配列を返します。fontNames
= listTrueTypeFonts
関数 listTrueTypeFonts
を関数 insertText
と共に使用します。
メモ
MATLAB® グラフィックスで使用できるフォントを表示するには、関数 listfonts
を使用します。
例
利用可能な TrueType フォントのリスト
listTrueTypeFonts
ans = 2509x1 cell
{'Caladea-Bold' }
{'Caladea-BoldItalic' }
{'Caladea-Italic' }
{'Caladea-Regular' }
{'Carlito-Bold' }
{'Carlito-BoldItalic' }
{'Carlito-Italic' }
{'Carlito-Regular' }
{'DejaVuMathTeXGyre' }
{'DejaVuSans' }
{'DejaVuSans-Bold' }
{'DejaVuSans-BoldOblique' }
{'DejaVuSans-ExtraLight' }
{'DejaVuSans-Oblique' }
{'DejaVuSansCondensed' }
{'DejaVuSansCondensed-Bold' }
{'DejaVuSansCondensed-BoldOblique'}
{'DejaVuSansCondensed-Oblique' }
{'DejaVuSansMono' }
{'DejaVuSansMono-Bold' }
{'DejaVuSansMono-BoldOblique' }
{'DejaVuSansMono-Oblique' }
{'DejaVuSerif' }
{'DejaVuSerif-Bold' }
{'DejaVuSerif-BoldItalic' }
{'DejaVuSerif-Italic' }
{'DejaVuSerifCondensed' }
{'DejaVuSerifCondensed-Bold' }
{'DejaVuSerifCondensed-BoldItalic'}
{'DejaVuSerifCondensed-Italic' }
⋮
すべての TrueType 'Lucida' フォントのリスト
fontNames = listTrueTypeFonts;
LucidaFonts = fontNames(~cellfun(@isempty,regexp(fontNames,'^Lucida')))
LucidaFonts = 1x1 cell array
{'LucidaSansRegular'}
出力引数
fontNames
— システムで利用可能な TrueType フォント
cell 配列
システムで使用可能な TrueType フォント。TrueType フォント名を並べ替えた cell 配列として返されます。
バージョン履歴
R2015b で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)