2
0
Эх сурвалжийг харах

Update text_unicode_ranges.c

Ray 4 өдөр өмнө
parent
commit
f4250da042

+ 2 - 1
examples/text/text_unicode_ranges.c

@@ -150,6 +150,7 @@ int main(void)
             DrawRectangleLines(400, 16, 380, 380, RED);
             DrawRectangleLines(400, 16, 380, 380, RED);
 
 
             DrawText(TextFormat("ATLAS SIZE: %ix%i px (x%02.2f)", font.texture.width, font.texture.height, atlasScale), 20, 380, 20, BLUE);
             DrawText(TextFormat("ATLAS SIZE: %ix%i px (x%02.2f)", font.texture.width, font.texture.height, atlasScale), 20, 380, 20, BLUE);
+            DrawText(TextFormat("CODEPOINTS GLYPHS LOADED: %i", font.glyphCount), 20, 410, 20, LIME);
 
 
             // Display font attribution
             // Display font attribution
             DrawText("Font: Noto Sans TC. License: SIL Open Font License 1.1", screenWidth - 300, screenHeight - 20, 10, GRAY);
             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)
             {
             {
                 DrawRectangle(0, 0, screenWidth, screenHeight, Fade(WHITE, 0.8f));
                 DrawRectangle(0, 0, screenWidth, screenHeight, Fade(WHITE, 0.8f));
                 DrawRectangle(0, 125, screenWidth, 200, GRAY);
                 DrawRectangle(0, 125, screenWidth, 200, GRAY);
-                DrawText("LOADING CODEPOINTS...", 150, 210, 40, BLACK);
+                DrawText("GENERATING FONT ATLAS...", 120, 210, 40, BLACK);
             }
             }
             
             
         EndDrawing();
         EndDrawing();