More Fonts! 7 Segment #6130
Unanswered
gfwilliams
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2019-01-24 by @gfwilliams
Hi,
I just added some simple 7 segment font types- check out http://www.espruino.com/Fonts#font-modules
However, there's now some 'font maker' code which is included in the (unminified) font comments at https://github.com/espruino/EspruinoDocs/blob/master/modules/Font5x7Numeric7Seg.js
Basically if you update the width, height, and 7 segment image at the top:
Then run the code on Espruino it'll generate a font for you that matches the image you gave.
It could be a nice way of coming up with stylised fonts of exactly the right size, and nothing stops someone improving the
digits
array to include the full character set :)Beta Was this translation helpful? Give feedback.
All reactions