hpi-swa-lab/GlyphHub

Refactor Renderer to use a separate Loader

Opened this issue · 0 comments

tom95 commented
  • Renderer always works synchronously (may have utility methods for async)
  • Loader returns Promises based on {FRTFont, version hash, glyph name} tuple
  • Loader caches all returned glyphs in a LRU cache (glyphs are immutable and can thus be cached indefinitely)