Home
last modified time | relevance | path

Searched refs:gfx_unicodeFont (Results 1 – 3 of 3) sorted by relevance

/dports/games/starfighter/starfighter-2.4/src/
H A Dgfx.c67 TTF_Font *gfx_unicodeFont; variable
116 gfx_unicodeFont = TTF_OpenFont(_("data/TakaoPGothic.ttf"), 13); in gfx_init()
117 if (gfx_unicodeFont == NULL) in gfx_init()
122 TTF_SetFontStyle(gfx_unicodeFont, TTF_STYLE_BOLD); in gfx_init()
293 if (TTF_SizeUTF8(gfx_unicodeFont, in, &w, NULL) < 0) in gfx_unicodeWidth()
360 if (gfx_unicodeFont != NULL) in gfx_renderUnicodeBase()
390 if (TTF_SizeUTF8(gfx_unicodeFont, testStr, &w, &h) < 0) in gfx_renderUnicodeBase()
414 y += TTF_FontHeight(gfx_unicodeFont) + 1; in gfx_renderUnicodeBase()
446 y += TTF_FontHeight(gfx_unicodeFont) + 1; in gfx_renderUnicodeBase()
462 TTF_SizeUTF8(gfx_unicodeFont, in, &w, NULL); in gfx_renderUnicode()
[all …]
H A Dengine.c460 if (gfx_unicodeFont != NULL) in engine_cleanup()
462 TTF_CloseFont(gfx_unicodeFont); in engine_cleanup()
463 gfx_unicodeFont = NULL; in engine_cleanup()
H A Dgfx.h43 extern TTF_Font *gfx_unicodeFont;