Ray Bellis
67df015bfe
fonts need cstdint
2023-05-08 13:17:16 +01:00
Phil Howard
761e8b5c3c
MicroPython: Don't include Hershey font map.
2023-03-27 15:11:30 +01:00
Phil Howard
73f50e43ec
Hershey Fonts: Replace map lookup to avoid std::string.
2023-03-16 13:25:19 +00: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
0d43973326
Bitmap Fonts: Refactor and support for pound/degrees.
2022-04-01 15:38:42 +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
24819734b7
Separate Hershey Fonts into their own library.
2022-03-30 15:10:52 +01:00