Collection of AFM (Adobe Font Metrics) specifications in JSON format, with CommonJS JavaScript API.
npm install afm
var afm = require('afm')
afm.fonts.ArialMT
To (re)fetch the original files at vendor/**/*.afm
from the internet:
make
To (re)generate the JSON files by parsing the character metrics for each AFM file in the repository:
npm run prepublishOnly
- "What can I do with AFM - Adobe font metrics file?" from StackExchange: Graphic Design
- Font technical notes
Copyright 2015–2018 Christopher Brown. MIT Licensed.