You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Fix font fallback for lines with only non-visual/control characters.
This commit is contained in:
@@ -159,7 +159,7 @@ void Label::_shape() const {
|
||||
for (const String &str : para_text) {
|
||||
Paragraph para;
|
||||
para.text_rid = TS->create_shaped_text();
|
||||
para.text = str;
|
||||
para.text = str + String::chr(0x200B);
|
||||
para.start = start;
|
||||
start += str.length() + ps.length();
|
||||
paragraphs.push_back(para);
|
||||
|
||||
Reference in New Issue
Block a user