Allowed for a white square as part of the other groups.
This commit is contained in:
parent
cab315bed1
commit
16fc15daee
|
@ -219,10 +219,8 @@ static RenFont* font_group_get_glyph(GlyphSet** set, GlyphMetric** metric, RenFo
|
||||||
if ((*metric)->loaded || codepoint < 0xFF)
|
if ((*metric)->loaded || codepoint < 0xFF)
|
||||||
return fonts[i];
|
return fonts[i];
|
||||||
}
|
}
|
||||||
if (!(*metric)->loaded && codepoint > 0xFF) {
|
if (!(*metric)->loaded && codepoint > 0xFF && codepoint != 0x25A1)
|
||||||
*set = font_get_glyphset(fonts[0], 0x25A1, bitmap_index);
|
return font_group_get_glyph(set, metric, fonts, 0x25A1, bitmap_index);
|
||||||
*metric = &(*set)->metrics[0x25A1 % 256];
|
|
||||||
}
|
|
||||||
return fonts[0];
|
return fonts[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue