fontpath-glyph-iterator

1.1.0 • Public • Published

An iterator which steps through a string and moves the pen position (in pixels) forward based on the glyph kerning and horizontal advance. This is also used to compute a bounding region for a series of glyphs, to the given available width.

This class is mostly used internally by fontpath modules, but it may be useful for an advanced or custom renderer.

Package Sidebar

Install

npm i fontpath-glyph-iterator

Weekly Downloads

22

Version

1.1.0

License

MIT

Last publish

Collaborators

  • mattdesl