1.1.0 • Published 10 years ago

fontpath-glyph-iterator v1.1.0

Weekly downloads
51
License
MIT
Repository
github
Last release
10 years ago

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.