You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Enforce zero width spaces and joiners with missing font. Do not warn about missing non-visual characters.
This commit is contained in:
@@ -649,7 +649,7 @@ PackedStringArray Label::get_configuration_warnings() const {
|
||||
const Glyph *glyph = TS->shaped_text_get_glyphs(para.text_rid);
|
||||
int64_t glyph_count = TS->shaped_text_get_glyph_count(para.text_rid);
|
||||
for (int64_t i = 0; i < glyph_count; i++) {
|
||||
if (glyph[i].font_rid == RID()) {
|
||||
if (glyph[i].font_rid == RID() && glyph[i].index != 0) {
|
||||
warnings.push_back(RTR("The current font does not support rendering one or more characters used in this Label's text."));
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user