Improve simulated bold fonts advance.

This commit is contained in:
bruvzg 2022-03-13 14:50:36 +02:00
parent 7df288f785
commit d9f8cadafb
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
3 changed files with 37 additions and 10 deletions

View file

@ -242,6 +242,8 @@ class TextServerAdvanced : public TextServer {
}
}
_FORCE_INLINE_ float _get_extra_advance(RID p_font_rid, int p_font_size) const;
// Shaped text cache data.
struct ShapedTextDataAdvanced : public ShapedTextData {