Skip to content

Commit

Permalink
Update font renderer example to avoid number to string ambiguity (esp…
Browse files Browse the repository at this point in the history
  • Loading branch information
nagyrobi authored Dec 28, 2024
1 parent 0a8a374 commit cd2b971
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions components/font.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit cd2b971

Please sign in to comment.