diff --git a/lib/ugui.c3l/src/ugui_font.c3 b/lib/ugui.c3l/src/ugui_font.c3 index d481dbd..9ababd4 100644 --- a/lib/ugui.c3l/src/ugui_font.c3 +++ b/lib/ugui.c3l/src/ugui_font.c3 @@ -112,10 +112,11 @@ fn void? Font.load(&font, String name, ZString path, uint height, float scale) ushort size = (ushort)font.size*(ushort)($$sqrt((float)FONT_CACHED)); font.atlas.new(font.id, ATLAS_GRAYSCALE, size, size)!; - // preallocate the ASCII range - for (char c = ' '; c < '~'; c++) { - font.get_glyph((Codepoint)c)!; - } +// FIXME: this crashes with O1 or greater, why?? +// // preallocate the ASCII range +// for (char c = ' '; c < '~'; c++) { +// font.get_glyph((Codepoint)c)!; +// } } fn Glyph*? Font.get_glyph(&font, Codepoint code)