pixlet icon indicating copy to clipboard operation
pixlet copied to clipboard

Load custom fonts at runtime

Open matslina opened this issue 3 years ago • 2 comments

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.

matslina avatar Apr 15 '21 21:04 matslina

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 😅.

IMG_3978

This is currently just a webp image served directly to my device for testing—would love for it to work as a font option.

ivanruizknott avatar Apr 05 '22 03:04 ivanruizknott

@betterengineering would you know?

ivanruizknott avatar Apr 08 '22 18:04 ivanruizknott