|
hai 1 ano | |
---|---|---|
.. | ||
README.md | hai 1 ano | |
creating-fonts.html | hai 1 ano | |
font-editor.html | hai 1 ano | |
generate-font-node.js | hai 1 ano | |
reading-writing.html | hai 1 ano |
Due to security issues, these examples only work when running a local web server.
Run npm start
in the home directory to start a web server.
Then navigate to one of the examples, e.g.: http://localhost:8080/examples/reading-writing.html
The generate-font-node.js
example can be run from node.js:
cd opentype.js/examples
node generate-font-node.js
# This generates a font file, called Pyramid-Regular.otf.