Phil Howard
93525a422f
Bitmap Fonts: Fixed-width space for #765 .
2023-09-15 09:07:59 +01:00
Phil Howard
004c8de8eb
Bitmap Fonts: Add rotation support.
...
* Fix bug with word-wrap ignoring \n
* Fix bug with word-wrap miscalculating word size
2023-08-03 16:30:25 +01:00
Phil Howard
fba7b53c36
PicoGraphics: Fixed-width bitmap font support.
2023-05-15 11:03:39 +01:00
Phil Howard
375df60ff3
PicoGraphics: Switch to string_view.
...
MicroPython's GET_STR_DATA_LEN macro returns a const byte array and len, which std::string would copy into heap.
Using string_view lets us wrap the existing const values.
2023-03-16 13:25:19 +00:00
Phil Howard
eee28a6f94
Bitmap Fonts: Break to newline on \n.
2022-06-29 07:50:18 +01:00
Phil Howard
3b8740fab6
Bitmap Fonts: Add letter spacing.
2022-04-01 15:38:48 +01:00
Phil Howard
0d43973326
Bitmap Fonts: Refactor and support for pound/degrees.
2022-04-01 15:38:42 +01:00
Phil Howard
b2ff46b516
Bitmap Fonts: Simplify and add support for 16bit fonts.
2022-04-01 15:38:34 +01:00
Phil Howard
e4bde0985a
Bitmap Fonts: Add final five chars.
2022-04-01 15:38:29 +01:00
Phil Howard
6a9bc8688f
Bitmap Fonts: Add accent rendering.
...
Render accents above and below the 64 characters > 127.
Different offsets for upper/lower case characters.
2022-04-01 15:38:20 +01:00
Phil Howard
ef940cc5ea
Fonts: Ungracefully handle accented characters.
...
Introduce a lookup table for the 64 accented characters > 127.
Remaps these characters back to a printable, non-accented version.
2022-03-31 16:13:30 +01:00
Phil Howard
90ea262496
Bitmap Fonts: Add measure functions.
2022-03-30 15:10:52 +01:00
Phil Howard
3b8dcecd8e
Pico Graphics: Move bitmap fonts into generic library.
...
* Add bitmap font support into Badger 2040
2022-03-30 15:10:52 +01:00