Skip to content

Commit af28252

Browse files
committed
fix readme example code block. update supported types for pcf in readme.
1 parent da4fa0b commit af28252

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Introduction
1313
:target: https://github.com/adafruit/Adafruit_CircuitPython_Bitmap_Font/actions/
1414
:alt: Build Status
1515

16-
Loads bitmap fonts into CircuitPython's displayio. BDF files are well supported. PCF and TTF
16+
Loads bitmap fonts into CircuitPython's displayio. BDF and PCF files are well supported. TTF
1717
support is not yet complete.
1818

1919
Dependencies
@@ -53,11 +53,11 @@ To install in a virtual environment in your current project:
5353
Usage Example
5454
=============
5555

56-
.. code-block::python
56+
.. code-block:: python
5757
5858
from adafruit_bitmap_font import bitmap_font
5959
from displayio import Bitmap
60-
font = bitmap_font.load_font("scientifica-11.bdf", Bitmap)
60+
font = bitmap_font.load_font("fonts/Arial-16.bdf", Bitmap)
6161
print(font.get_glyph(ord("A")))
6262
6363

0 commit comments

Comments
 (0)