wasm: show color atlas in example web app

This commit is contained in:
Mitchell Hashimoto
2022-12-05 21:33:54 -08:00
parent 10f708ee65
commit 41cbc1a323
3 changed files with 19 additions and 6 deletions

View File

@@ -7,9 +7,9 @@
</head>
<body>
<p>Open your console, we are just debugging here.</p>
<p>The font rendering canvas should show below. This shows a single glyph.</p>
<div><div id="face-canvas" style="display: inline-block; border: 1px solid red;"></div></div>
<p>The current font atlas is rendered below.</p>
<p>The current <b>greyscale</b> font atlas is rendered below.</p>
<div><div id="atlas-canvas" style="display: inline-block; border: 1px solid green;"></div></div>
<p>The current <b>color</b> font atlas is rendered below.</p>
<div><div id="atlas-color-canvas" style="display: inline-block; border: 1px solid blue;"></div></div>
</body>
</html>