From 34029fc71a3cc7e69f977462d4b3f09eb10ccca2 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 14 Aug 2018 17:53:27 +0200 Subject: UI: disable new text hinting from D3201 by default for now. This changes the text hinting setting to be an enum with options Auto / None / Slight / Full. The default is Auto which currently disables hinting. The hinting was tested with a new FreeType version, but this is not what is used on the buildbots an official release environment, and the fonts look quite bad because of that. Once FreeType has been upgraded we can change the default. Even then the results are not ideal, perhaps due to missing subpixel positioning and linear color blending support in BLF. --- release/scripts/startup/bl_ui/space_userpref.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'release/scripts/startup') diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index e0902dd8636..26facd25174 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -538,9 +538,10 @@ class USERPREF_PT_system(Panel): col.separator() col.label(text="Text Draw Options:") - col.prop(system, "use_text_antialiasing") - if system.use_text_antialiasing: - col.prop(system, "use_text_hinting") + col.prop(system, "use_text_antialiasing", text="Anti-aliasing") + sub = col.column() + sub.active = system.use_text_antialiasing + sub.prop(system, "text_hinting", text="Hinting") col.separator() -- cgit v1.2.3