spelling: normalize grey -> gray

This commit is contained in:
Qwerasd
2024-08-11 18:02:12 -04:00
parent 956b097786
commit 10b8ca3c69
22 changed files with 120 additions and 116 deletions

View File

@@ -51,7 +51,7 @@ fetch(url.href)
group_cache_free,
group_cache_index_for_codepoint,
group_cache_render_glyph,
group_cache_atlas_greyscale,
group_cache_atlas_grayscale,
group_cache_atlas_color,
atlas_new,
atlas_free,
@@ -83,7 +83,7 @@ fetch(url.href)
free(config_str.ptr);
// Create our atlas
// const atlas = atlas_new(512, 0 /* greyscale */);
// const atlas = atlas_new(512, 0 /* grayscale */);
// Create some memory for our string
const font_name = makeStr("monospace");
@@ -174,7 +174,7 @@ fetch(url.href)
// Debug our atlas canvas
{
const atlas = group_cache_atlas_greyscale(group_cache);
const atlas = group_cache_atlas_grayscale(group_cache);
const id = atlas_debug_canvas(atlas);
document.getElementById("atlas-canvas").append(zjs.deleteValue(id));
}

View File

@@ -7,7 +7,7 @@
</head>
<body>
<p>Open your console, we are just debugging here.</p>
<p>The current <b>greyscale</b> font atlas is rendered below.</p>
<p>The current <b>grayscale</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>