-
Trying this example on Lanbon L8: https://fvanroie.github.io/hasp-docs/#example-2/ |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 21 replies
-
Uploading EDIT: I'll try with recompiling. |
Beta Was this translation helpful? Give feedback.
-
It looks like But in all sizes it includes the FontAwesome5 symbols. :( |
Beta Was this translation helpful? Give feedback.
-
Here is my suggestion for a basic character set, which removes usually unused (at least less likely to be used on hasp-lvgl displays) characters from Basic Latin-1, and adds some useful from Latin-1 Supplement (like degree symbol, +/- sign, micro, quarters: New font files in
|
Beta Was this translation helpful? Give feedback.
-
Submitted a PR with fomt-selector from |
Beta Was this translation helpful? Give feedback.
-
While you can certainly do this to fit your individual needs, the goal of the default firmware is to get a device set up easily and usable. Additional fonts are on the roadmap, to be added on-the-fly to the filesystem instead of compiling in the firmware. Changing fonts using #defines seems hard to manage going forward, there are so many different language scripts. |
Beta Was this translation helpful? Give feedback.
-
I have found this overview of alphabets. It might be a useful exercise to determine which letters are common in multiple alphabets and languages. I can run a script to generate the .c files for different fonts and compare the file sizes. Common letters can be added to the default font, but some icons probably need to go... it's a balancing act, but I'm open for suggestions. |
Beta Was this translation helpful? Give feedback.
-
I generate the fonts with a script and I'm adding the ranges to it to see what is the difference in file size. |
Beta Was this translation helpful? Give feedback.
-
I'm thinking of compiling a list like this one for the characters used in different languages. The CSV can be easily opened in a spreadsheet to be edited or filtered. Then that list can be used to generate the fonts automatically e.g. font/hu/robotocondensed_regular_12_nokern.c This will need some clever src_filter or keep the files in a separante repo to include in a custom environment... not sure yet :) |
Beta Was this translation helpful? Give feedback.
-
This is tied to the new material design icons and those new fonts will be available with other character-sets as well. |
Beta Was this translation helpful? Give feedback.
Submitted a PR with fomt-selector from
user_config_override.h
: #83