rune.font.js

0.0.4 • Public • Published

Rune.Font.js

A plugin that loads font files and converts them to Rune.Path objects.

Using in the browser

First download the latest release. Then include the rune.font.js file after your rune.js file in your HTML file.

<head>
  <script src="rune.js"></script>
  <script src="rune.font.js"></script>
</head>

Using in node

npm install rune.font.js

Then require the rune.font.js module in your code, along with your rune.js module (if needed).

var Rune = require('rune.js');
var Font = require('rune.font.js');

Examples

Look at the Typography section in the Rune.js examples.

Credits

Font parsing functionality provided by the awesome opentype.js.

Readme

Keywords

Package Sidebar

Install

npm i rune.font.js

Weekly Downloads

0

Version

0.0.4

License

MIT

Last publish

Collaborators

  • runemadsen