ugfx/demos/modules/gdisp/gdisp_fonts_cyrillic/main.c
2013-09-15 02:34:07 +02:00

21 lines
399 B
C

#include "gfx.h"
int main(void) {
font_t font1;
// Initialize uGFX and the underlying system
gfxInit();
// Get the fonts we want to use
font1 = gdispOpenFont("Archangelsk Regular 12");
// Demonstrate our other fonts
gdispDrawString(10, 10, "привет мир", font1, Yellow);
// Wait forever
while(TRUE) {
gfxSleepMilliseconds(500);
}
}