Update Badger readme to include bitmap fonts
This commit is contained in:
parent
832d0f08dc
commit
6c4459701a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue