This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
pimoroni-pico
mirror of
https://github.com/pimoroni/pimoroni-pico.git
Watch
1
Star
0
Fork
You've already forked pimoroni-pico
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
24f4b6fc83
pimoroni-pico
/
libraries
/
pico_graphics
/
CMakeLists.txt
2 lines
29 B
CMake
Raw
Normal View
History
Unescape
Escape
Make font settable by user at runtime This allows fonts to be hot-swapped out by calling `set_font` Unfortunately the way fonts are currently stored limits the maximum height to 8 pixels, since that's the size of a uint8_t and the y dimension is bitwise encoded. The width can be arbitrary, by specifying the widths and max_width (the multiplier for number of bytes per char). Might be worth grabbing some more bits from 32blit to make this not terrible, but now a user-defined font is an .hpp and a `set_font` away.
2021-02-23 17:07:03 +00:00
include
(
pico_graphics.cmake
)