Update README.md

This commit is contained in:
Hel Gibbons 2022-10-03 09:10:59 +01:00 committed by GitHub
parent fb8cde305d
commit 6393e74f86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ Draws "Hello World" in a 16px tall, 2x scaled version of the `bitmap8` font.
Sometimes you might want to measure a text string for centering or alignment on screen, you can do this with:
```python
width = measure_text(text, scale, spacing)
width = display.measure_text(text, scale, spacing)
```
The height of each Bitmap font is explicit in its name.