BreadCrumbs: Ftxdumperfuser

Ftxdumperfuser

From Luke Jackson

(Difference between revisions)
Jump to: navigation, search

Revision as of 14:50, 16 December 2008

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
Personal tools