pixlet
pixlet copied to clipboard
Load custom fonts at runtime
All fonts are currently provided at build time, so there's no way for an applet to provide their own custom font. We should change that. Case in point: big_clock.star by @joeyhoer which had to embed PNGs for each digit to render a large clock.
Hey @matslina! Is there any update on when this might be be ready? Or are any other workarounds besides the embedded PNG route? I see an embedfonts.go
file in the repository but don’t know if there’s a way I can use that. I very excitedly drew a custom .bdf font for the display before looking into this 😅.
This is currently just a webp image served directly to my device for testing—would love for it to work as a font option.
@betterengineering would you know?