diff options
| author | Qwerasd <qwerasd205@users.noreply.github.com> | 2024-08-11 18:02:12 -0400 |
|---|---|---|
| committer | Qwerasd <qwerasd205@users.noreply.github.com> | 2024-08-11 18:31:01 -0400 |
| commit | 10b8ca3c694aa5e0b5cf7eaaae79a4990e3774c3 (patch) | |
| tree | 5b22b3f5d1ef295c236f73420c0c4e99c4892aeb /example | |
| parent | 956b097786289f44c09d227bb679b3c42458cf75 (diff) | |
spelling: normalize grey -> gray
Diffstat (limited to 'example')
| -rw-r--r-- | example/app.ts | 6 | ||||
| -rw-r--r-- | example/index.html | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/example/app.ts b/example/app.ts index b42870a50..bb85d5aaa 100644 --- a/example/app.ts +++ b/example/app.ts @@ -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)); } diff --git a/example/index.html b/example/index.html index a5fddff0d..2e66f92d1 100644 --- a/example/index.html +++ b/example/index.html @@ -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> |
