mattdesl

mattdesl/word-wrapper

wraps words based on arbitrary 2D glyphs

JavaScript
72
8
MIT License

Word-wrapper is a generic library for wrapping left-to-right text in 2D applications, supporting console, canvas, and WebGL rendering. It accepts a custom measure function for glyph metrics, making it ideal for developers working with text layout in various 2D environments.

Total donated
Undistributed
Share with your subscribers: