text-cache

4.3.0 • Public • Published

text-cache

A cache of generated vector font meshes. This is an internal module used to share generated fonts/glyphs across gl-vis packages.

API

require('text-cache')(font, str)

Generates a vectorized text mesh.

  • font is the font to use
  • str is the string to generate

Returns A triangulation encoding the vectorized text string.

License

(c) 2015 Mikola Lysenko. MIT License

Package Sidebar

Install

npm i text-cache

Weekly Downloads

32,294

Version

4.3.0

License

MIT

Unpacked Size

5.59 kB

Total Files

5

Last publish

Collaborators

  • farkites
  • plotly-mikesol
  • ndrezner
  • lconnors
  • alexshoe
  • t4rk
  • bronsolo
  • chriddyp
  • bpostlethwaite
  • antrg
  • archmoj
  • hammadtheone
  • mikolalysenko
  • dfcreative
  • etpinard
  • rreusser
  • monfera