From 6c4459701a7d6921926ad0df515602c57878b2bb Mon Sep 17 00:00:00 2001 From: helgibbons <50950368+helgibbons@users.noreply.github.com> Date: Thu, 7 Apr 2022 12:45:41 +0100 Subject: [PATCH 1/2] Update Badger readme to include bitmap fonts --- micropython/modules/badger2040/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/micropython/modules/badger2040/README.md b/micropython/modules/badger2040/README.md index 56cbd886..e90982b2 100644 --- a/micropython/modules/badger2040/README.md +++ b/micropython/modules/badger2040/README.md @@ -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 From ac3bfa537d29da7075d09b2d688fbd95c227a98e Mon Sep 17 00:00:00 2001 From: helgibbons <50950368+helgibbons@users.noreply.github.com> Date: Thu, 7 Apr 2022 12:48:51 +0100 Subject: [PATCH 2/2] Update Badger readme to include bitmap fonts --- micropython/modules/badger2040/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micropython/modules/badger2040/README.md b/micropython/modules/badger2040/README.md index e90982b2..3702123f 100644 --- a/micropython/modules/badger2040/README.md +++ b/micropython/modules/badger2040/README.md @@ -210,7 +210,7 @@ There are also three bitmap fonts, useful for smaller text and retro goodness. T * "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. +When working with bitmap fonts, note that `scale` must be an integer >= 1, and text is orientated from its top left corner. ```python font(