You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
inav-configurator/resources/osd
Darren Lines 86da1cb811 Updated with new char 2 years ago
..
bold Added symbol for Ah 3 years ago
clarity Added symbol for Ah 3 years ago
clarity_medium Added symbol for Ah 3 years ago
default Merge branch 'master' into MrD_Add-precision-to-mAh-used-for-9999mAh 2 years ago
impact Added symbol for Ah 3 years ago
impact_mini Added symbol for Ah 3 years ago
large Added symbol for Ah 3 years ago
vision Added symbol for Ah 3 years ago
.gitignore Split character maps into their images 7 years ago
README.md [FONTS] Add font metadata and simplify the font build process 4 years ago
bold.mcm Merge branch 'master' into MrD_Add-precision-to-mAh-used-for-9999mAh 2 years ago
bold.png Updated with new char 2 years ago
bold.yaml [FONTS] Add font metadata and simplify the font build process 4 years ago
clarity.mcm Merge branch 'master' into MrD_Add-precision-to-mAh-used-for-9999mAh 2 years ago
clarity.png Updated with new char 2 years ago
clarity.yaml [FONTS] Add font metadata and simplify the font build process 4 years ago
clarity_medium.mcm Merge branch 'master' into MrD_Add-precision-to-mAh-used-for-9999mAh 2 years ago
clarity_medium.png Updated with new char 2 years ago
clarity_medium.yaml [FONTS] Add font metadata and simplify the font build process 4 years ago
default.mcm Merge branch 'master' into MrD_Add-precision-to-mAh-used-for-9999mAh 2 years ago
default.png Updated with new char 2 years ago
default.yaml [FONTS] Add font metadata and simplify the font build process 4 years ago
font_version.yaml First complete update - ready for testing 3 years ago
fonts.yaml [FONTS] Use inheritance between fonts to remove duplicate files 4 years ago
iNav character map.md Added symbol for Ah 3 years ago
impact.mcm Merge branch 'master' into MrD_Add-precision-to-mAh-used-for-9999mAh 2 years ago
impact.png Updated with new char 2 years ago
impact.yaml [FONTS] Add font metadata and simplify the font build process 4 years ago
impact_mini.mcm Merge branch 'master' into MrD_Add-precision-to-mAh-used-for-9999mAh 2 years ago
impact_mini.png Updated with new char 2 years ago
impact_mini.yaml [FONTS] Add font metadata and simplify the font build process 4 years ago
large.mcm Merge branch 'master' into MrD_Add-precision-to-mAh-used-for-9999mAh 2 years ago
large.png Updated with new char 2 years ago
large.yaml [FONTS] Use inheritance between fonts to remove duplicate files 4 years ago
vision.mcm Merge branch 'master' into MrD_Add-precision-to-mAh-used-for-9999mAh 2 years ago
vision.png Updated with new char 2 years ago
vision.yaml [FONTS] Add font metadata and simplify the font build process 4 years ago

README.md

OSD Font Files

This directory contains one directory per font. In each directory, each character is named %d%d%d.png, where the digits represent the decimal character number found in the filename without the extension.

Don't alter the .mcm files directly, those should be only modified by altering the .png files found in its correspondant font directory.

Character map files (.mcm) are built from the .png files in each directory representing the font, using max7456toool.

After changing any source .png files, run:

max7456tool -f generate fonts.yaml

to update the .mcm files.

Note that .mcm files MUST be manually regenerated with the aforementioned command, added and committed to the repo, while preview .png files (the ones contained directly in this directory, not the ones in the source subdirectories) MUST NOT, they're generated only for convenience to quickly review fonts at a glance (.gitignore is set up to ignore them to help avoid mistakes).

To add a new font, create its directory with source .png files, add it to the list in fonts.yaml and rerun max7456tool to regenerate the .mcm.