|
|
%!s(int64=2) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| README.md | %!s(int64=2) %!d(string=hai) anos | |
| creating-fonts.html | %!s(int64=2) %!d(string=hai) anos | |
| font-editor.html | %!s(int64=2) %!d(string=hai) anos | |
| generate-font-node.js | %!s(int64=2) %!d(string=hai) anos | |
| reading-writing.html | %!s(int64=2) %!d(string=hai) anos | |
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.