Skip to content
forked from chbrown/afm

Collection of metrics and encodings for the standard 14 PDF fonts

License

Notifications You must be signed in to change notification settings

Hopding/standard-fonts

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 metrics and encodings for the standard 14 PDF fonts

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 84.2%
  • JavaScript 12.7%
  • HTML 3.1%