mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-03-13 13:50:15 +01:00
Update font renderer example to avoid number to string ambiguity (#4544)
This commit is contained in:
parent
0a8a374764
commit
cd2b971ffa
@ -52,12 +52,13 @@ Next, create a ``font:`` section in your configuration:
|
||||
size: 28
|
||||
bpp: 4
|
||||
glyphs: [
|
||||
a,A,á,Á,e,E,é,É,
|
||||
0123456789aAáÁeEéÉ,
|
||||
(,),+,-,_,.,°,•,µ,
|
||||
"\u0020", #space
|
||||
"\u0021", #!
|
||||
"\u0022", #"
|
||||
"\u0027", #'
|
||||
"\u0020", # space
|
||||
"\u002C", # ,
|
||||
"\u0021", # !
|
||||
"\u0022", # "
|
||||
"\u0027", # '
|
||||
]
|
||||
|
||||
- file: "fonts/RobotoCondensed-Regular.ttf"
|
||||
|
Loading…
Reference in New Issue
Block a user