1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

Added font oversampling support

This commit is contained in:
Juan Linietsky
2017-12-19 18:48:30 -03:00
parent 06dd10b390
commit fc103566e6
6 changed files with 61 additions and 19 deletions

View File

@@ -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;