fontpath-renderer

4.0.0 • Public • Published

fontpath-renderer

experimental

A generic renderer for fontpath glyphs.

This is a low-level module and is mostly used internally.

Instead, you are encouraged to use fontpath-canvas for 2D canvas, fontpath-gl for WebGL, or fontpath-simple-renderer for basic render-agnostic custom solutions.

However, this produces the least amount of GC thrashing, and is best suited for highly optimized font rendering.

NPM

demo

In the demo folder is a simple implementation rendering triangles with some mouse interaction.

Result

You can run the demo here.

License

MIT.

Package Sidebar

Install

npm i fontpath-renderer

Weekly Downloads

29

Version

4.0.0

License

MIT

Last publish

Collaborators

  • mattdesl