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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user