# @here/harp-text-canvas

> SDF based text rendering for TypeScript

Latest version **0.28.0** (published 2022-01-17) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @here/harp-text-canvas
pnpm add @here/harp-text-canvas
yarn add @here/harp-text-canvas
bun add @here/harp-text-canvas
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.28.0 |
| Published | 2022-01-17 |
| First published | 2019-03-12 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 237.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1317 |
| Author | HERE Europe B.V. |
| Maintainers | here-bot, here-maps, heremaps |

## Links

- npm: https://www.npmjs.com/package/@here/harp-text-canvas
- Repository: https://github.com/heremaps/harp.gl
- Homepage: https://github.com/heremaps/harp.gl#readme
- Issues: https://github.com/heremaps/harp.gl/issues
- npm.io page: https://npm.io/package/@here/harp-text-canvas

## Dependencies (2)

- [@here/harp-utils](https://npm.io/package/@here/harp-utils.md) ^0.28.0
- [@here/harp-lrucache](https://npm.io/package/@here/harp-lrucache.md) ^0.28.0

## Recent versions

- 0.28.0 (latest) — 2022-01-17
- 0.11.0-alpha.0 (alpha) — 2019-10-16
- 0.27.1 — 2021-09-30
- 0.27.0 — 2021-09-27
- 0.26.0 — 2021-08-03
- 0.25.0 — 2021-05-25
- 0.24.0 — 2021-04-08
- 0.23.0 — 2021-03-09
- 0.22.0 — 2021-01-28
- 0.21.0 — 2020-11-02
- 0.20.0 — 2020-09-22
- 0.19.0 — 2020-08-19
- 0.18.0 — 2020-07-28
- 0.17.2 — 2020-07-14
- 0.17.0 — 2020-06-23
- … 15 more at https://npm.io/package/@here/harp-text-canvas/versions

## README

# @here/harp-text-canvas

## Overview

`Harp-Text-Canvas` is a robust [Signed Distance Field (SDF)](https://en.wikipedia.org/wiki/Signed_distance_function) 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.

---
_Source: https://npm.io/package/@here/harp-text-canvas · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
