Add a HOWTO for adjusting text_composition_strategy

This commit is contained in:
Kovid Goyal 2023-04-03 17:40:15 +05:30
parent e07f2df8d0
commit 6dcc7ad0c7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -262,6 +262,11 @@ backgrounds is affected very little.
The second number is an additional multiplicative contrast. It is percentage The second number is an additional multiplicative contrast. It is percentage
ranging from :code:`0` to :code:`100`. The default value is :code:`0` on Linux ranging from :code:`0` to :code:`100`. The default value is :code:`0` on Linux
and :code:`30` on macOS. and :code:`30` on macOS.
If you wish to achieve similar looking thickness in light and dark themes, a good way
to experiment is start by setting the value to :code:`1.0 0` and use a dark theme.
Then adjust the second parameter until it looks good. Then switch to a light theme
and adjust the first parameter until the perceived thickness matches the dark theme.
''') ''')
egr() # }}} egr() # }}}