mirror of https://github.com/kivy/kivy.git
improved font_hinting defaults
This commit is contained in:
parent
50d96f666f
commit
8e65bad974
|
@ -815,7 +815,7 @@ class Label(Widget):
|
|||
'''
|
||||
|
||||
font_hinting = OptionProperty(
|
||||
'none', options=['normal', 'light', 'mono', 'none'])
|
||||
'normal', options=['normal', 'light', 'mono', 'none'])
|
||||
'''What hinting option to use for font rendering.
|
||||
Can be `'normal'`, `'light'`, `'mono'`, `'none'`
|
||||
|
||||
|
@ -825,10 +825,10 @@ class Label(Widget):
|
|||
.. versionadded:: 1.9.2
|
||||
|
||||
:attr:`font_hinting` is an :class:`~kivy.properties.OptionProperty` and
|
||||
defaults to `'none'`.
|
||||
defaults to `'normal'`.
|
||||
'''
|
||||
|
||||
font_kerning = BooleanProperty(False)
|
||||
font_kerning = BooleanProperty(True)
|
||||
'''Whether kerning is enable for font rendering
|
||||
|
||||
.. note::
|
||||
|
@ -837,10 +837,10 @@ class Label(Widget):
|
|||
.. versionadded:: 1.9.2
|
||||
|
||||
:attr:`font_kerning` is a :class:`~kivy.properties.BooleanProperty` and
|
||||
defaults to False.
|
||||
defaults to True.
|
||||
'''
|
||||
|
||||
font_blended = BooleanProperty(False)
|
||||
font_blended = BooleanProperty(True)
|
||||
'''Whether blended or solid font rendering should be used
|
||||
|
||||
.. note::
|
||||
|
@ -849,5 +849,5 @@ class Label(Widget):
|
|||
.. versionadded:: 1.9.2
|
||||
|
||||
:attr:`font_blended` is a :class:`~kivy.properties.BooleanProperty` and
|
||||
defaults to False.
|
||||
defaults to True.
|
||||
'''
|
||||
|
|
Loading…
Reference in New Issue