Merge pull request #526 from pimoroni/helgibbons-patch-1

Update README.md
This commit is contained in:
Hel Gibbons 2022-10-03 09:18:24 +01:00 committed by GitHub
commit 92ff903d1d
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.