User:Patches/ttname

From FedoraProject

< User:Patches
Revision as of 09:37, 28 August 2013 by Patches (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Checking the metadata

View the whole name table of a font:

ttname font.ttf

View the "copyright" field of a font:

ttname --tag=copyright font.ttf

View the "license description" field of a font:

ttname --tag=license font.ttf

Correcting the metadata

Populate the "license description" field with the contents of a file called LICENSE:

ttname --license="$(cat LICENSE)" font.ttf

Fix all the fields at once:

ttname --copyright="$(head -n1 LICENSE)" --license="$(cat LICENSE)" --license-url="http://scripts.sil.org/OFL" font.ttf


Learn more

For more information, see man ttname or the the online version.