diff options
| author | raysan5 <[email protected]> | 2020-06-02 23:07:11 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-06-02 23:07:11 +0200 |
| commit | b00ab118c6a86713042ebc172a7108682a268a03 (patch) | |
| tree | b005a76a9643d53abf4ac606984876619aee8fd1 /examples | |
| parent | 8a501ef06d92ded1892413dd2a8d7fe495b2efe9 (diff) | |
| download | raylib-b00ab118c6a86713042ebc172a7108682a268a03.tar.gz raylib-b00ab118c6a86713042ebc172a7108682a268a03.zip | |
[examples] text_font_sdf - Corrected bug
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/text/text_font_sdf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/text/text_font_sdf.c b/examples/text/text_font_sdf.c index 067bb820..2cbe5150 100644 --- a/examples/text/text_font_sdf.c +++ b/examples/text/text_font_sdf.c @@ -48,7 +48,7 @@ int main(void) fontSDF.baseSize = 16; fontSDF.charsCount = 95; // Parameters > font size: 16, no chars array provided (0), chars count: 0 (defaults to 95) - fontSDF.chars = LoadFontData("resources/AnonymousPro-Bold.ttf", 16, 0, 0, FONT_SDF); + fontSDF.chars = LoadFontData("resources/anonymous_pro_bold.ttf", 16, 0, 0, FONT_SDF); // Parameters > chars count: 95, font size: 16, chars padding in image: 0 px, pack method: 1 (Skyline algorythm) atlas = GenImageFontAtlas(fontSDF.chars, &fontSDF.recs, 95, 16, 0, 1); fontSDF.texture = LoadTextureFromImage(atlas); |
