Fix display font and static text ref (#2618)
This commit is contained in:
parent
f858439867
commit
4171ba1fb4
|
@ -56,7 +56,7 @@ Google Fonts
|
||||||
|
|
||||||
:ghuser:`OttoWinter` has given everyone a way to use Google Fonts in their YAML and displays without having to manually download
|
:ghuser:`OttoWinter` has given everyone a way to use Google Fonts in their YAML and displays without having to manually download
|
||||||
TTF font files. The example below will automatically download and cache the Roboto TTF font file required so you can utilise it.
|
TTF font files. The example below will automatically download and cache the Roboto TTF font file required so you can utilise it.
|
||||||
See the :ref:`display-static_text` documentation for more details.
|
See the :ref:`display-fonts` documentation for more details.
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
|
|
@ -141,7 +141,7 @@ Additionally, you have access to two helper methods which will fetch the width a
|
||||||
|
|
||||||
You can view the full API documentation for the rendering engine in the "API Reference" in the See Also section.
|
You can view the full API documentation for the rendering engine in the "API Reference" in the See Also section.
|
||||||
|
|
||||||
.. _display-static_text:
|
.. _display-fonts:
|
||||||
|
|
||||||
Fonts
|
Fonts
|
||||||
*****
|
*****
|
||||||
|
@ -226,6 +226,8 @@ Configuration variables:
|
||||||
to install it using
|
to install it using
|
||||||
``pip install pillow``.
|
``pip install pillow``.
|
||||||
|
|
||||||
|
.. _display-static_text:
|
||||||
|
|
||||||
Drawing Static Text
|
Drawing Static Text
|
||||||
*******************
|
*******************
|
||||||
|
|
||||||
|
@ -415,7 +417,7 @@ RGB displays use red, green, and blue, while grayscale displays may use white.
|
||||||
Graph Component
|
Graph Component
|
||||||
***************
|
***************
|
||||||
|
|
||||||
You can display a graph of a sensor value(s) using this component. The states used for the graph are stored in
|
You can display a graph of a sensor value(s) using this component. The states used for the graph are stored in
|
||||||
memory at the time the sensor updates and will be lost when the device reboots.
|
memory at the time the sensor updates and will be lost when the device reboots.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
Loading…
Reference in New Issue