2024-03-13, 02:13 AM
In order to fulfill my early 2000s nostalgia, I need to 1) make a post here, first, and 2) theme everything and therefore the font on Tangara.
System Font
|
2024-03-13, 02:13 AM
In order to fulfill my early 2000s nostalgia, I need to 1) make a post here, first, and 2) theme everything and therefore the font on Tangara.
2024-03-13, 02:19 AM
What font are you thinking? We've been using this one so far. It's a good default (looks nice enough, and has great character coverage), but I admit it's not a particularly opinionated-looking font!
2024-03-13, 03:21 AM
Chicago will always feel right to me on this form factor
2024-03-13, 04:26 AM
2024-03-13, 11:54 AM
(2024-03-13, 02:19 AM)jacqueline Wrote: What font are you thinking? We've been using this one so far. It's a good default (looks nice enough, and has great character coverage), but I admit it's not a particularly opinionated-looking font!The current one isn't bad, I just really wanted something double the weight. Hearing Chicago, that sounds good and now that I think about it some more, maybe a DIN variant.
2024-03-13, 09:37 PM
So long as it's a bitmap font, it should look good I think! I tried some antialiased fonts early in development, but it looked bad at small sizes.
2024-03-13, 11:54 PM
2024-03-14, 12:01 AM
LVGL can do it! Our screen's relatively large pixel size just makes them look a bit funky is all.
I had a quick Ctrl-F in the docs and could see anything, but it's it possible to set the font in the theme config?
2024-12-29, 11:16 PM
You technically can, but it's not very well supported or documented yet. Fonts are currently loaded here: https://codeberg.org/cool-tech-zone/tang...a/font.lua
Using files generated from this script: https://codeberg.org/cool-tech-zone/tang...mkfonts.sh You could use `lvgl.Font` to load up your own font (provided it's in the correct format) within your theme, but we don't have a mechanism to unload the default fonts atm. Ideally I think we should make font loading a part of the theme so that it's easier to change. It would be also good to investigate whether we can use a 'real' font format to avoid needing to convert to LVGL's special format (I also have issues with LVGL's format due to load times; most of our boot time atm is due to parsing the font files from flash)
2025-01-02, 11:36 AM
That's all helpful thanks
|