Skip to content

chbrown/afm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Collection of AFM (Adobe Font Metrics) specifications

Resources

Stars

Watchers

Forks

Packages

No packages published