Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

Latest commit

 

History

History
48 lines (28 loc) · 1.04 KB

README.md

File metadata and controls

48 lines (28 loc) · 1.04 KB

afm

latest version published to npm

Collection of AFM (Adobe Font Metrics) specifications in JSON format, with CommonJS JavaScript API.

Installation

npm install afm

Example

var afm = require('afm')
afm.fonts.ArialMT

Development

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

References

License

Copyright 2015–2018 Christopher Brown. MIT Licensed.