summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-05-08 15:37:00 +0200
committerGitHub <noreply@github.com>2018-05-08 15:37:00 +0200
commit9dbfe5dc615f398577a926d400086b38de37051e (patch)
treebeead4f986bab97f869740ce56cd1a6a4d603381 /editor
parent47db64ac007878904a6ccf23304502765174a8ca (diff)
parent863dd9aa46aff502f7425ea6045de93bf09b76a3 (diff)
Merge pull request #17578 from endragor/ft-outlines
Perfect FreeType-based outlines for DynamicFonts
Diffstat (limited to 'editor')
-rw-r--r--editor/output_strings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/output_strings.cpp b/editor/output_strings.cpp
index b0b72510a9..e6cadee3e3 100644
--- a/editor/output_strings.cpp
+++ b/editor/output_strings.cpp
@@ -87,6 +87,7 @@ void OutputStrings::_notification(int p_what) {
float h_ofs = (int)h_scroll->get_value();
Point2 icon_ofs = Point2(0, (font_height - (int)icon_error->get_height()) / 2);
+ FontDrawer drawer(font, Color(1, 1, 1));
while (E && ofs.y < (size_height - (int)margin.y)) {
String str = E->get().text;