Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix readme example code block. update supported types for pcf in readme.
  • Loading branch information
FoamyGuy committed Dec 12, 2020
commit af282529b9e55c7a4acc315c12528f091b0797fb
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Introduction
:target: https://github.com/adafruit/Adafruit_CircuitPython_Bitmap_Font/actions/
:alt: Build Status

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

Dependencies
Expand Down Expand Up @@ -53,11 +53,11 @@ To install in a virtual environment in your current project:
Usage Example
=============

.. code-block::python
.. code-block:: python

from adafruit_bitmap_font import bitmap_font
from displayio import Bitmap
font = bitmap_font.load_font("scientifica-11.bdf", Bitmap)
font = bitmap_font.load_font("fonts/Arial-16.bdf", Bitmap)
print(font.get_glyph(ord("A")))


Expand Down