« 【OSX】MacOSダウンロードリンク | トップページ | 【OCR-B】365 CloudFonts »

【Fonts】Font Properties

この記事の続き
http://force4u.cocolog-nifty.com/skywalker/2019/07/post-911598.html


 


fc-scan を使う方法もあります。


 


例文
fc-scan --format "%{family}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{familylang}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{style}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{stylelang}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{fullname}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{fullnamelang}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{slant}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{weight}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{size}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{width}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{aspect}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{pixelsize}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{spacing}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{foundry}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{antialias}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{hinting}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{hintstyle}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{verticallayout}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{autohint}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{globaladvance}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{file}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{index}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{ftface}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{rasterizer}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{outline}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{scalable}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{color}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{scale}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{dpi}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{rgba}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{lcdfilter}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{minspace}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{charset}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{lang}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{fontversion}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{capability}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{fontformat}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{embolden}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{embeddedbitmap}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{decorative}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{fontfeatures}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{namelang}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{prgname}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"
fc-scan --format "%{postscriptname}\n" "/System/Library/Fonts/ヒラギノ角ゴ ProN W3.otf"


 


PropertyTypeDescription
familyStringFont family names
familylangStringLanguages corresponding to each family
style StringFont style. Overrides weight and slant
stylelang StringLanguages corresponding to each style
fullnameStringFont full names (often includes style)
fullnamelangStringLanguages corresponding to each fullname
slant IntItalic, oblique or roman
weightIntLight, medium, demibold, bold or black
sizeDoublePoint size
width IntCondensed, normal or expanded
aspectDoubleStretches glyphs horizontally before hinting
pixelsize DoublePixel size
spacing IntProportional, dual-width, monospace or charcell
foundry StringFont foundry name
antialias BoolWhether glyphs can be antialiased
hinting BoolWhether the rasterizer should use hinting
hintstyle IntAutomatic hinting style
verticallayoutBoolUse vertical layout
autohintBoolUse autohinter instead of normal hinter
globaladvance BoolUse font global advance data (deprecated)
fileStringThe filename holding the font
index IntThe index of the font within the file
ftfaceFT_FaceUse the specified FreeType face object
rasterizerStringWhich rasterizer is in use (deprecated)
outline BoolWhether the glyphs are outlines
scalableBoolWhether glyphs can be scaled
color BoolWhether any glyphs have color
scale DoubleScale factor for point->pixel conversions (deprecated)
dpi DoubleTarget dots per inch
rgbaIntunknown, rgb, bgr, vrgb, vbgr,none - subpixel geometry
lcdfilter IntType of LCD filter
minspaceBoolEliminate leading from line spacing
charset CharSetUnicode chars encoded by the font
langStringList of RFC-3066-style languages thisfont supports
fontversion IntVersion number of the font
capabilityStringList of layout capabilities in the font
fontformatStringString name of the font format
emboldenBoolRasterizer should synthetically embolden the font
embeddedbitmapBoolUse the embedded bitmap instead of the outline
decorativeBoolWhether the style is a decorative variant
fontfeaturesStringList of the feature tags in OpenType to be enabled
namelangStringLanguage name to be used for the default value offamilylang, stylelang, and fullnamelang
prgname StringStringName of the running program
postscriptnameStringFont family name in PostScript

|

« 【OSX】MacOSダウンロードリンク | トップページ | 【OCR-B】365 CloudFonts »

Fonts」カテゴリの記事