mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 00:59:41 +01:00
Output a warning for missing glyphs in a font.
This commit is contained in:
1 parent
0e96cfaa99
commit
6126faef84
1 file changed
+3
@@ -341,6 +341,9 @@ void RasterizeFont(const char *fontfile, std::vector<CharRange> &ranges, int fon
|
||||
continue;
|
||||
}
|
||||
|
||||
if (FT_Get_Char_Index(font, kar) == 0)
|
||||
fprintf(stderr, "WARNING: Font does not contain character %x.\n", kar);
|
||||
|
||||
// printf("%dx%d %p\n", font->glyph->bitmap.width, font->glyph->bitmap.rows, font->glyph->bitmap.buffer);
|
||||
const int bord = (128 + distmult - 1) / distmult + 1;
|
||||
if(font->glyph->bitmap.buffer) {
|
||||
|
||||
Reference in new issue
Block a user