tidbyt / pixlet

Build apps for pixel-based displays ✨
https://tidbyt.com
Apache License 2.0
756 stars 107 forks source link

added 6x10 and 6x10 rounded fonts #1083

Closed abdullahwaqar closed 1 day ago

abdullahwaqar commented 1 month ago

Overview

This commit adds a new 6x10 font sourced from https://github.com/olikraus/u8g2.

The font used are licensed under terms that allow for use, modification, and distribution; see detailed licensing information here.

Preview

Preview generated by running

6x10

make build && ./build/out/pixlet render examples/font-preview/font-preview.star font=6x10 --gif --magnify 10

6x10

6x10-rounded

make build && ./build/out/pixlet render examples/font-preview/font-preview.star font=6x10-rounded --gif --magnify 10

6x10-rounded

maxalines commented 1 month ago

Just to give a bit more context, this is a font we'd like to add for our Synth Solar Monitor which we think provides a perfect way to fit 3 lines of text on the screen and 10 letters across (as letters are fixed width).

We were talking to Pär about it on email and he said that submitting a PR was the best thing to do - but let us know if any issues with that. Thanks!

maxalines commented 6 days ago

@rohansingh @matslina - Is there any chance we could merge this PR for a new font? It's a font we made ourselves adapted from a free-to-use font (licensing here: https://github.com/olikraus/u8g2/blob/master/LICENSE) and so no licensing issues.

We have a v2 of our Synth Solar monitoring app built and so this is the only barrier to putting it live. Thanks!