Bladeren bron

Update text_unicode_ranges.c

Ray 4 dagen geleden
bovenliggende
commit
f4250da042
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      examples/text/text_unicode_ranges.c

+ 2 - 1
examples/text/text_unicode_ranges.c

@@ -150,6 +150,7 @@ int main(void)
             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("CODEPOINTS GLYPHS LOADED: %i", font.glyphCount), 20, 410, 20, LIME);
 
             // Display font attribution
             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, 125, screenWidth, 200, GRAY);
-                DrawText("LOADING CODEPOINTS...", 150, 210, 40, BLACK);
+                DrawText("GENERATING FONT ATLAS...", 120, 210, 40, BLACK);
             }
             
         EndDrawing();