0.0.4 • Published 7 years ago

rune.font.js v0.0.4

Weekly downloads
7
License
MIT
Repository
github
Last release
7 years ago

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.

0.0.4

7 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

9 years ago