Fontconfigで知られているすべての固定幅フォントを一覧表示するコマンド

Fontconfigで知られているすべての固定幅フォントを一覧表示するコマンド

すべての既知の固定幅フォントのリストが必要ですfontconfig。どのコマンドを使用する必要がありますか?

ベストアンサー1

このコマンドは、fc-list属性に従って使用可能なすべてのフォントを一覧表示します。あなたの場合は検索が必要です間隔に該当単核球症、それは100だからfc-list :spacing=100。より簡単な形式fc-list :monoでも機能します。

例:

$ fc-list :spacing=100

/usr/share/fonts/urw-fonts/n022003l.pfb: Nimbus Mono L:style=Regular
/usr/share/texmf-dist/fonts/opentype/public/semaphor/smftt10.otf: Semafor:style=Mono
/usr/share/fonts/TTF/luximbi.ttf: Luxi Mono:style=Bold Oblique
/usr/share/texmf-dist/fonts/type1/public/droid/DroidSansMono.pfb: Droid Sans Mono:style=Regular
/usr/share/texmf-dist/fonts/type1/public/bera/fvmbo8a.pfb: Bera Sans Mono:style=Bold Oblique
/usr/share/fonts/dejavu/DejaVuSansMono-BoldOblique.ttf: DejaVu Sans Mono:style=Bold Oblique
/usr/share/texmf-dist/fonts/type1/public/bera/fvmr8a.pfb: Bera Sans Mono:style=Regular
/usr/share/texmf-dist/fonts/opentype/public/semaphor/smfptt10.otf: Semafor:style=PersonPillar-Mono
/usr/share/texmf-dist/fonts/type1/urw/courier/ucrr8a.pfb: Nimbus Mono L:style=Regular

ライブラリに役立つドキュメントfontconfig(フォントプロパティと選択した値を含む)がファイルに提供されます(バージョン番号をユーザーのものに変更)。fc-list/usr/share/doc/fontconfig-2.12.1/fontconfig-user.html

おすすめ記事