1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-24 00:35:20 +03:00
inav-configurator/resources/osd
2021-09-08 13:42:06 +01:00
..
bold Merge branch 'master' of https://github.com/iNavFlight/inav-configurator into iNavFlight-master 2021-09-08 13:28:21 +01:00
clarity Merge branch 'master' of https://github.com/iNavFlight/inav-configurator into iNavFlight-master 2021-09-08 13:28:21 +01:00
clarity_medium Merge branch 'master' of https://github.com/iNavFlight/inav-configurator into iNavFlight-master 2021-09-08 13:28:21 +01:00
default Merge branch 'master' of https://github.com/iNavFlight/inav-configurator into iNavFlight-master 2021-09-08 13:28:21 +01:00
impact Merge branch 'master' of https://github.com/iNavFlight/inav-configurator into iNavFlight-master 2021-09-08 13:28:21 +01:00
impact_mini Merge branch 'master' of https://github.com/iNavFlight/inav-configurator into iNavFlight-master 2021-09-08 13:28:21 +01:00
large Merge branch 'master' of https://github.com/iNavFlight/inav-configurator into iNavFlight-master 2021-09-08 13:28:21 +01:00
vision Merge branch 'master' of https://github.com/iNavFlight/inav-configurator into iNavFlight-master 2021-09-08 13:28:21 +01:00
.gitignore Split character maps into their images 2017-08-24 18:14:00 +02:00
bold.mcm Merge branch 'master' of https://github.com/iNavFlight/inav-configurator into iNavFlight-master 2021-09-08 13:28:21 +01:00
bold.png Updates for merge 2021-09-08 13:42:06 +01:00
bold.yaml [FONTS] Add font metadata and simplify the font build process 2020-06-13 13:52:41 +01:00
clarity.mcm Merge branch 'master' of https://github.com/iNavFlight/inav-configurator into iNavFlight-master 2021-09-08 13:28:21 +01:00
clarity.png Updates for merge 2021-09-08 13:42:06 +01:00
clarity.yaml [FONTS] Add font metadata and simplify the font build process 2020-06-13 13:52:41 +01:00
clarity_medium.mcm Merge branch 'master' of https://github.com/iNavFlight/inav-configurator into iNavFlight-master 2021-09-08 13:28:21 +01:00
clarity_medium.png Updates for merge 2021-09-08 13:42:06 +01:00
clarity_medium.yaml [FONTS] Add font metadata and simplify the font build process 2020-06-13 13:52:41 +01:00
default.mcm Merge branch 'master' of https://github.com/iNavFlight/inav-configurator into iNavFlight-master 2021-09-08 13:28:21 +01:00
default.png Updates for merge 2021-09-08 13:42:06 +01:00
default.yaml [FONTS] Add font metadata and simplify the font build process 2020-06-13 13:52:41 +01:00
font_version.yaml First complete update - ready for testing 2021-07-12 19:30:54 +01:00
fonts.yaml [FONTS] Use inheritance between fonts to remove duplicate files 2020-06-13 13:52:41 +01:00
impact.mcm Merge branch 'master' of https://github.com/iNavFlight/inav-configurator into iNavFlight-master 2021-09-08 13:28:21 +01:00
impact.png Updates for merge 2021-09-08 13:42:06 +01:00
impact.yaml [FONTS] Add font metadata and simplify the font build process 2020-06-13 13:52:41 +01:00
impact_mini.mcm Merge branch 'master' of https://github.com/iNavFlight/inav-configurator into iNavFlight-master 2021-09-08 13:28:21 +01:00
impact_mini.png Updates for merge 2021-09-08 13:42:06 +01:00
impact_mini.yaml [FONTS] Add font metadata and simplify the font build process 2020-06-13 13:52:41 +01:00
iNav character map.md Merge branch 'master' of https://github.com/iNavFlight/inav-configurator into iNavFlight-master 2021-09-08 13:28:21 +01:00
large.mcm Merge branch 'master' of https://github.com/iNavFlight/inav-configurator into iNavFlight-master 2021-09-08 13:28:21 +01:00
large.png Updates for merge 2021-09-08 13:42:06 +01:00
large.yaml [FONTS] Use inheritance between fonts to remove duplicate files 2020-06-13 13:52:41 +01:00
README.md [FONTS] Add font metadata and simplify the font build process 2020-06-13 13:52:41 +01:00
vision.mcm Merge branch 'master' of https://github.com/iNavFlight/inav-configurator into iNavFlight-master 2021-09-08 13:28:21 +01:00
vision.png Updates for merge 2021-09-08 13:42:06 +01:00
vision.yaml [FONTS] Add font metadata and simplify the font build process 2020-06-13 13:52:41 +01:00

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.