Skip to content

Commit f4250da

Browse files
committed
Update text_unicode_ranges.c
1 parent f6ae596 commit f4250da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/text/text_unicode_ranges.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ int main(void)
150150
DrawRectangleLines(400, 16, 380, 380, RED);
151151

152152
DrawText(TextFormat("ATLAS SIZE: %ix%i px (x%02.2f)", font.texture.width, font.texture.height, atlasScale), 20, 380, 20, BLUE);
153+
DrawText(TextFormat("CODEPOINTS GLYPHS LOADED: %i", font.glyphCount), 20, 410, 20, LIME);
153154

154155
// Display font attribution
155156
DrawText("Font: Noto Sans TC. License: SIL Open Font License 1.1", screenWidth - 300, screenHeight - 20, 10, GRAY);
@@ -158,7 +159,7 @@ int main(void)
158159
{
159160
DrawRectangle(0, 0, screenWidth, screenHeight, Fade(WHITE, 0.8f));
160161
DrawRectangle(0, 125, screenWidth, 200, GRAY);
161-
DrawText("LOADING CODEPOINTS...", 150, 210, 40, BLACK);
162+
DrawText("GENERATING FONT ATLAS...", 120, 210, 40, BLACK);
162163
}
163164

164165
EndDrawing();

0 commit comments

Comments
 (0)