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.
This commit is contained in:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user