summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2018-04-19 01:25:25 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2018-04-19 01:25:25 +0200
commit16a3f664207b4d195ac1880bb004b9955d565dde (patch)
tree81b2b43d6019dd921ebe4d235df9762fb34ee531 /main
parent9ce8d8ddda35cda781364e9b648325a2953d3f63 (diff)
Enable DynamicFont oversampling by default
This results in a better DynamicFont appearance when scaled, which is especially noticeable when using the `2d` scaling mode.
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.cpp b/main/main.cpp
index a59ca3da3b..29da47fe8f 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -1512,7 +1512,7 @@ bool Main::start() {
bool snap_controls = GLOBAL_DEF("gui/common/snap_controls_to_pixels", true);
sml->get_root()->set_snap_controls_to_pixels(snap_controls);
- bool font_oversampling = GLOBAL_DEF("rendering/quality/dynamic_fonts/use_oversampling", false);
+ bool font_oversampling = GLOBAL_DEF("rendering/quality/dynamic_fonts/use_oversampling", true);
sml->set_use_font_oversampling(font_oversampling);
} else {
@@ -1525,7 +1525,7 @@ bool Main::start() {
sml->set_auto_accept_quit(GLOBAL_DEF("application/config/auto_accept_quit", true));
sml->set_quit_on_go_back(GLOBAL_DEF("application/config/quit_on_go_back", true));
GLOBAL_DEF("gui/common/snap_controls_to_pixels", true);
- GLOBAL_DEF("rendering/quality/dynamic_fonts/use_oversampling", false);
+ GLOBAL_DEF("rendering/quality/dynamic_fonts/use_oversampling", true);
}
String local_game_path;