Update Badger readme to include bitmap fonts

This commit is contained in:
helgibbons 2022-04-07 12:45:41 +01:00
parent 832d0f08dc
commit 6c4459701a
1 changed files with 9 additions and 1 deletions

View File

@ -196,7 +196,7 @@ measure_text(
### Change Font
There are five fonts to pick from:
There are five vector fonts to pick from:
* "sans"
* "gothic"
@ -204,6 +204,14 @@ There are five fonts to pick from:
* "serif"
* "serif_italic"
There are also three bitmap fonts, useful for smaller text and retro goodness. They should handle characters like £, ° and accented characters more gracefully.
* "bitmap6"
* "bitmap8"
* "bitmap14_outline"
When working with bitmap fonts, note that `scale` must be an integer >= 1, and text is orientated from its top left corner, instead of the left middle.
```python
font(
font # string: one of the fonts listed above