Skip to content

scripts ​

List scripts and languages supported by a font.

Quick Reference ​

bash
fontisan scripts <font> [options]

Options ​

OptionDescription
--format FORMATOutput format (text, yaml, json)
--with-languagesInclude language systems
--with-featuresInclude features per script

Output ​

Shows:

  • Script tags (OpenType 4-character codes)
  • Script names
  • Language systems (optional)
  • Feature count per script

Examples ​

bash
# List scripts
fontisan scripts font.ttf

# With language systems
fontisan scripts font.ttf --with-languages

# With features
fontisan scripts font.ttf --with-features

# JSON output
fontisan scripts font.ttf --format json

Sample Output ​

Scripts
=======

Tag     Name                    Languages  Features
------  ----------------------  ---------  --------
DFLT    Default                 1          12
latn    Latin                   27         45
cyrl    Cyrillic                8          32
grek    Greek                   2          28
arab    Arabic                  4          38

Total: 5 scripts, 42 language systems

Common Script Tags ​

TagScript
DFLTDefault
latnLatin
cyrlCyrillic
grekGreek
arabArabic
hebrHebrew
devaDevanagari
bengBengali
hansSimplified Chinese
hantTraditional Chinese
jpanJapanese
koreKorean
thaiThai

Use Cases ​

Check for Script Support ​

bash
fontisan scripts font.ttf | grep -i arab

Verify Multi-script Font ​

bash
fontisan scripts font.ttf --format json | jq 'length'

Compare Script Coverage ​

bash
diff <(fontisan scripts font1.ttf) <(fontisan scripts font2.ttf)

Fontisan is a [Ribose](https://open.ribose.com/) project