so nachdem ich mich diesem morgen damit beschäftigt habe, wurde mir mal wieder deutlich das auch ich lesen muss 😛
Laut ESPHome docu fuer Displays :
Drawing Static Text
The rendering engine also has a powerful font drawer which integrates seamlessly into ESPHome. Whereas in most Arduino display projects you have to use one of a few pre-defined fonts in very specific sizes, with ESPHome you have the option to use any TrueType (.ttf) font file at any size! Granted the reason for it is actually not having to worry about the licensing of font files :)
To use fonts you first have to define a font object in your ESPHome configuration file. Just grab a .ttf file from somewhere on the internet and place it, for example, inside a fonts folder next to your configuration file.
Ergo, man muss sich selber irgendwo eine *.ttf laden, diese ins Verzeichnis kopieren und dan gehts auch :))
Die Datei gehört in /opt/iobroker/iobroker-data/esphome.0/
ich habe da nen ordner fonts erstellt und es da rein kopiert :
ls -l /opt/iobroker/iobroker-data/esphome.0/fonts/
total 10572
-rw-rw-r--+ 1 iobroker iobroker 584424 Aug 26 12:32 FreeMono.ttf
-rw-rw-r--+ 1 iobroker iobroker 296284 Aug 26 12:32 FreeMonoBold.ttf
-rw-rw-r--+ 1 iobroker iobroker 295360 Aug 26 12:32 FreeMonoBoldOblique.ttf
-rw-rw-r--+ 1 iobroker iobroker 390692 Aug 26 12:32 FreeMonoOblique.ttf
-rw-rw-r--+ 1 iobroker iobroker 1563256 Aug 26 12:32 FreeSans.ttf
-rw-rw-r--+ 1 iobroker iobroker 416128 Aug 26 12:32 FreeSansBold.ttf
-rw-rw-r--+ 1 iobroker iobroker 342488 Aug 26 12:32 FreeSansBoldOblique.ttf
-rw-rw-r--+ 1 iobroker iobroker 763696 Aug 26 12:32 FreeSansOblique.ttf
-rw-rw-r--+ 1 iobroker iobroker 3303588 Aug 26 12:32 FreeSerif.ttf
-rw-rw-r--+ 1 iobroker iobroker 1310828 Aug 26 12:32 FreeSerifBold.ttf
-rw-rw-r--+ 1 iobroker iobroker 608708 Aug 26 12:32 FreeSerifBoldItalic.ttf
-rw-rw-r--+ 1 iobroker iobroker 922088 Aug 26 12:32 FreeSerifItalic.ttf
und siehe da
Schermafbeelding 2021-08-26 om 12.47.24.png