mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-19 05:50:27 +00:00
font: add method for drawing atlas to canvas
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
<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 id="face-canvas" style="display: inline-block; border: 1px solid red;"></div>
|
||||
<div><div id="face-canvas" style="display: inline-block; border: 1px solid red;"></div></div>
|
||||
<p>The current font atlas is rendered below.</p>
|
||||
<div><div id="atlas-canvas" style="display: inline-block; border: 1px solid green;"></div></div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user