mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Added font oversampling support
This commit is contained in:
parent
06dd10b390
commit
fc103566e6
6 changed files with 61 additions and 19 deletions
|
@ -207,7 +207,7 @@ void Label::_notification(int p_what) {
|
|||
} break;
|
||||
}
|
||||
|
||||
int y_ofs = style->get_offset().y;
|
||||
float y_ofs = style->get_offset().y;
|
||||
y_ofs += (line - lines_skipped) * font_h + font->get_ascent();
|
||||
y_ofs += vbegin + line * vsep;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue