text-cache
Internal module - vectorized text pooling for gl-vis
Last updated 8 months ago by archmoj .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install text-cache 
SYNC missed versions from official npm registry.

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

Current Tags

  • 4.2.2                                ...           latest (8 months ago)

7 Versions

  • 4.2.2                                ...           8 months ago
  • 4.2.1                                ...           2 years ago
  • 4.2.0                                ...           2 years ago
  • 4.1.0                                ...           4 years ago
  • 4.0.0                                ...           5 years ago
  • 3.0.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago

Copyright 2014 - 2017 © taobao.org |