BLF: disable print for unicode character not being found in the font

This is overly noisy in some cases (such as browsing the file-system)
it can flood the stdout with messages that aren't an error to be fixed.
This commit is contained in:
Campbell Barton
2025-10-01 23:57:46 +00:00
parent 0e90d1543e
commit c4e4c7f4f1

View File

@@ -830,7 +830,9 @@ static FT_UInt blf_glyph_index_from_charcode(FontBLF **font, const uint charcode
}
#ifndef NDEBUG
printf("Unicode character U+%04X not found in loaded fonts. \n", charcode);
/* Disable this print even in debug mode as it floods the console
* when browsing a file-system containing unknown characters. */
// printf("Unicode character U+%04X not found in loaded fonts. \n", charcode);
#endif
return 0;