From 530001a433c847b40d109d08cd8ff0958efdca1c Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Mon, 18 Jan 2021 16:39:50 -0500 Subject: apparently plane 3 does exist --- text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text.c b/text.c index 7662092..54694ce 100644 --- a/text.c +++ b/text.c @@ -188,7 +188,7 @@ void text_chars_end(Font *font) { } void text_render_char(Font *font, TextRenderState *state, char32_t c) { - if (c >= 0x30000 && c < 0xE0000){ + if (c >= 0x40000 && c < 0xE0000){ // these Unicode code points are currently unassigned. replace them with a Unicode box. // (specifically, we don't want to use extra memory for pages which // won't even have any valid characters in them) -- cgit v1.2.3