mirror of
https://github.com/godotengine/godot
synced 2024-10-03 01:33:43 +00:00
[TextServer] Fix bitmap font kerning override.
This commit is contained in:
parent
36e943b6b2
commit
04c0e4446f
|
@ -3274,7 +3274,7 @@ TypedArray<Vector2i> TextServerAdvanced::_font_get_kerning_list(const RID &p_fon
|
|||
ERR_FAIL_COND_V(!_ensure_cache_for_size(fd, size), TypedArray<Vector2i>());
|
||||
|
||||
TypedArray<Vector2i> ret;
|
||||
for (const KeyValue<Vector2i, FontForSizeAdvanced *> &E : fd->cache) {
|
||||
for (const KeyValue<Vector2i, Vector2> &E : fd->cache[size]->kerning_map) {
|
||||
ret.push_back(E.key);
|
||||
}
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue