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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.3.08,697latest

Version History

VersionDownloads (Last 7 Days)Published
4.3.08,697
4.2.213,878
4.2.1441
4.2.034
4.1.053
4.0.00
3.0.00
1.0.00

Package Sidebar

Install

npm i text-cache

Weekly Downloads

23,103

Version

4.3.0

License

MIT

Unpacked Size

5.59 kB

Total Files

5

Last publish

Collaborators

  • chriddyp
  • bpostlethwaite
  • antrg
  • archmoj
  • hammadtheone
  • bronsolo
  • t4rk
  • alexshoe
  • lconnors
  • ndrezner
  • farkites
  • alexcjohnson
  • emilykl-plotly
  • marthacryan
  • vinceplotly
  • packages-team-plotly
  • mikolalysenko
  • dfcreative
  • etpinard
  • rreusser
  • monfera