ref: d289999b65c0c43fe2327331b0a776a0a9f0cf78
parent: 794bc17f6369d2f044bcebbcea21f100a17a45b6
author: David <gek@katherine>
date: Sat Mar 13 11:12:50 EST 2021
Automatic commit.
--- a/README.md
+++ b/README.md
@@ -358,6 +358,10 @@
This function can be added to display lists as glPlotPixel calls, the text is not saved in a display list.
+Is capable of rendering the entire 8 bit latin extended character set (7 bit ascii plus characters 0xa0 and onward...)
+
+You can check how to embed non-standard characters in your strings in the gears demo.
+
Draws a pre-made 8x8 font to the screen. You can change its displayed size with...
### glTextSize(GLTEXTSIZE mode)
--- a/SDL_Examples/gears.c
+++ b/SDL_Examples/gears.c
@@ -489,7 +489,7 @@
glDrawText((unsigned char*)"GREEN text", 0, 24, 0x00FF00);
- glDrawText((unsigned char*)"BLUE text", 0, 48, 0xFF);
+ glDrawText((unsigned char*)"\xa2" "BLUE text" "\xa1", 0, 48, 0xFF);
}
// swap buffers:
if(!noSDL)