From 8a18636d4bcd1d00c8e50c383dd02ff61b889193 Mon Sep 17 00:00:00 2001 From: NP v/d Spek Date: Tue, 24 Jan 2023 03:27:16 +0100 Subject: [PATCH] Add missing font: component to example. (#2614) Co-authored-by: Samuel Sieb Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> fixes https://github.com/esphome/issues/issues/4065 --- components/display/st7789v.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/components/display/st7789v.rst b/components/display/st7789v.rst index dc9bb4e1b..39a36ef54 100644 --- a/components/display/st7789v.rst +++ b/components/display/st7789v.rst @@ -48,6 +48,15 @@ to an ESP module. lambda: |- it.print(0, 0, id(font), "Hello World!"); + font: + - file: "gfonts://Roboto" + id: font + size: 20 + +.. note:: + + For more information about the font options see: :ref:`display-fonts`. + .. warning:: When using the TTGO T-Display module, the GPIO pin numbers above *cannot be changed* as they are