BreadCrumbs: Ftxdumperfuser
Ftxdumperfuser
From Luke Jackson
Revision as of 14:50, 16 December 2008; Ljackson (Talk | contribs)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
Dump the name table of the font file to XML and then parse with xmlstarlet and XAPTH:
ftxdumperfuser -t name lte51250.ttf | xml sel -T -t -m "//nameTableEntry[@nameTypeName='Family' or @nameTypeName='Style' or @nameTypeName='Unique' or @nameTypeName='Full' or @nameTypeName='Version' or @nameTypeName='PostScript'] /localizedName" -s D:T:- "@platformName" -v "concat(../@nameTypeName,':')" -n -v "concat(@platformName,' -> ',.)" -n