Fix documentation and behavior for 1.13 release
This commit is contained in:
+4
-4
@@ -13,14 +13,14 @@ style.tab_width = common.round(170 * SCALE)
|
||||
-- {antialiasing= "grayscale", hinting = "full"}
|
||||
--
|
||||
-- The possible values for each option are:
|
||||
-- - for antialiang: grayscale, subpixel
|
||||
-- - for antialiasing: grayscale, subpixel
|
||||
-- - for hinting: none, slight, full
|
||||
--
|
||||
-- The defaults values are antialiang subpixel and hinting slight for optimal visualization
|
||||
-- The defaults values are antialiasing subpixel and hinting slight for optimal visualization
|
||||
-- on ordinary LCD monitor with RGB patterns.
|
||||
--
|
||||
-- On High DPI monitor or non RGB monitor you may consider using antialiang grayscale instead.
|
||||
-- The antialising grayscale with full hinting is interesting for crisp font rendering.
|
||||
-- On High DPI monitor or non RGB monitor you may consider using antialiasing grayscale instead.
|
||||
-- The antialiasing grayscale with full hinting is interesting for crisp font rendering.
|
||||
style.font = renderer.font.load(DATADIR .. "/fonts/font.ttf", 14 * SCALE)
|
||||
style.big_font = renderer.font.load(DATADIR .. "/fonts/font.ttf", 34 * SCALE)
|
||||
style.icon_font = renderer.font.load(DATADIR .. "/fonts/icons.ttf", 14 * SCALE, {antialiasing="grayscale", hinting="full"})
|
||||
|
||||
Reference in New Issue
Block a user