diff options
Diffstat (limited to 'examples/text/text_font_spritefont.c')
| -rw-r--r-- | examples/text/text_font_spritefont.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/examples/text/text_font_spritefont.c b/examples/text/text_font_spritefont.c index 9c45f0ed..109ab486 100644 --- a/examples/text/text_font_spritefont.c +++ b/examples/text/text_font_spritefont.c @@ -2,19 +2,22 @@ * * raylib [text] example - Sprite font loading * -* Loaded sprite fonts have been generated following XNA SpriteFont conventions: +* NOTE: Sprite fonts should be generated following this conventions: +* * - Characters must be ordered starting with character 32 (Space) * - Every character must be contained within the same Rectangle height * - Every character and every line must be separated by the same distance (margin/padding) * - Rectangles must be defined by a MAGENTA color background * -* If following this constraints, a font can be provided just by an image, -* this is quite handy to avoid additional information files (like BMFonts use). +* Following those constraints, a font can be provided just by an image, +* this is quite handy to avoid additional font descriptor files (like BMFonts use). +* +* Example originally created with raylib 1.0, last time updated with raylib 1.0 * -* This example has been created using raylib 1.0 (www.raylib.com) -* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details) +* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified, +* BSD-like license that allows static linking with closed source software * -* Copyright (c) 2014 Ramon Santamaria (@raysan5) +* Copyright (c) 2014-2022 Ramon Santamaria (@raysan5) * ********************************************************************************************/ |
