Silenced some debugging.
This commit is contained in:
parent
60c8fb487d
commit
e9348a977a
1 changed files with 3 additions and 2 deletions
|
|
@ -74,14 +74,15 @@ void loadfont_callback(SDL_Surface * screen, const char *restrict const dir,
|
|||
const char *restrict const family = TuxPaint_Font_FontFaceFamilyName(font);
|
||||
const char *restrict const style = TuxPaint_Font_FontFaceStyleName(font);
|
||||
|
||||
printf("success: 0x%x -> 0x%x\n", (unsigned int) font,
|
||||
(unsigned int) font->ttf_font);
|
||||
|
||||
#ifdef DEBUG
|
||||
int numfaces = TTF_FontFaces(font->ttf_font);
|
||||
if (numfaces != 1)
|
||||
printf("Found %d faces in %s, %s, %s\n", numfaces, files[i].str,
|
||||
family, style);
|
||||
|
||||
printf("success: tpf: 0x%x tpf->ttf_font: 0x%x\n",
|
||||
(unsigned int) font, (unsigned int) font->ttf_font);
|
||||
#endif
|
||||
|
||||
// First, the blacklist. We list font families that can crash Tux Paint
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue