|
1 年之前 | |
---|---|---|
.. | ||
README.md | 1 年之前 | |
creating-fonts.html | 1 年之前 | |
font-editor.html | 1 年之前 | |
generate-font-node.js | 1 年之前 | |
reading-writing.html | 1 年之前 |
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.