@here/harp-text-canvas

SDF based text rendering for TypeScript

Usage no npm install needed!

<script type="module">
  import hereHarpTextCanvas from 'https://cdn.skypack.dev/@here/harp-text-canvas';
</script>

README

@here/harp-text-canvas

Overview

Harp-Text-Canvas is a robust Signed Distance Field (SDF) text rendering library for three.js. It handles:

  • Proper typesetting.
  • Rich text styling.
  • Complex text layouts.
  • Simple Bidi text.
  • Multi-font SDF text rendering.
  • Both SDF and MSDF BMFont assets.
  • Custom SDF text rendering materials.
  • Render to texture.