font: fix glyph offset calculations for render

This commit is contained in:
Mitchell Hashimoto
2022-12-05 15:25:09 -08:00
parent 5e9dd02eab
commit 25f2f1a652
3 changed files with 7 additions and 8 deletions

View File

@@ -55,7 +55,7 @@ fetch(url.href).then(response =>
for (let i = 33; i <= 126; i++) {
face_render_glyph(face, atlas, i);
}
// face_render_glyph(face, atlas, "A".codePointAt(0));
//face_render_glyph(face, atlas, "p".codePointAt(0));
// Debug our canvas
face_debug_canvas(face);