abcjs / font_generator /font_gen.html
KEXEL's picture
Upload 337 files
af6912c verified
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="Content-Language" content="en">
<title>abcjs: Font Generator</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/raphael/2.2.7/raphael.min.js"></script>
<script src="Emmentaler_400.font.js"></script>
<script src="font_generator/abcjs.font.js"></script>
<script src="scale_font.js"></script>
</head>
<body onload="showFont('canvas-emmentaler', 'Emmentaler');">
<h1>abcjs Character Table</h1>
<p>These are all the characters available to <b>abcjs</b>. Not all of them are used, however. The actual
characters that are in abcjs are listed in <b>scale_font.js</b> in the object <b>glyphnames</b>.
Click "Generate Font Code" to generate the code that should be put into <b>abc_glyphs.js</b> to make the characters available.
</p>
<h2>Emmentaler Font:</h2>
<button onclick='doScale("canvas-scratch", "generated-font-emmentaler", "Emmentaler");'>Generate Font Code</button>
<div id="generated-font-emmentaler" style="overflow: scroll;white-space: nowrap;"></div>
<div id="canvas-emmentaler"></div>
<div id="canvas-scratch"></div>
</body>
</html>