# render-bmfont

> Renders an [AngelCode BMFont](http://www.angelcode.com/products/bmfont/) text to canvas.

Latest version **1.0.0** (published 2017-12-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install render-bmfont
pnpm add render-bmfont
yarn add render-bmfont
bun add render-bmfont
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-12-18 |
| First published | 2017-12-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Hugo Silveira |
| Maintainers | tufao |

## Links

- npm: https://www.npmjs.com/package/render-bmfont
- Repository: https://github.com/tufao/render-bmfont
- Homepage: https://github.com/tufao/render-bmfont#readme
- Issues: https://github.com/tufao/render-bmfont/issues
- npm.io page: https://npm.io/package/render-bmfont

## Dependencies (2)

- [load-bmfont](https://npm.io/package/load-bmfont.md) ^1.3.0
- [layout-bmfont-text](https://npm.io/package/layout-bmfont-text.md) ^1.3.4

## Recent versions

- 1.0.0 (latest) — 2017-12-18

## README

# render-bmfont

Renders an [AngelCode BMFont](http://www.angelcode.com/products/bmfont/) text to canvas.

```js
import * as bmpfont from 'bmpfont.js'

var canvas = document.createElement('canvas');
var context = canvas.getContext("2d");

context.drawBitmapText('fonts/arial-32', 'Hello World!', 10, 20, 200, 30);
```

Currently supported BMFont formats:

- ASCII (text)
- JSON
- XML
- binary

## See Also

See [text-modules](https://github.com/mattdesl/text-modules) for related modules.

---
_Source: https://npm.io/package/render-bmfont · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
