Add options to embolden and transform font outlines to simulate bold and italic typefaces.
This commit is contained in:
parent
1e099afc8a
commit
b32e8d63d8
17 changed files with 364 additions and 25 deletions
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
const int default_font_size = 16;
|
||||
|
||||
void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, Ref<Texture2D> &default_icon, Ref<StyleBox> &default_style, float p_scale);
|
||||
void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const Ref<Font> &bold_font, const Ref<Font> &bold_italics_font, const Ref<Font> &italics_font, Ref<Texture2D> &default_icon, Ref<StyleBox> &default_style, float p_scale);
|
||||
void make_default_theme(float p_scale, Ref<Font> p_font, TextServer::SubpixelPositioning p_subpixel, TextServer::Hinting p_hinting, bool p_aa);
|
||||
void clear_default_theme();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue