danny wang 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây
..
README.md 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây
bfstyle.mcm 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây
bfstyle.png 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây
bold.mcm 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây
bold.png 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây
clarity.mcm 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây
clarity.png 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây
clarity_medium.mcm 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây
clarity_medium.png 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây
digital.mcm 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây
digital.png 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây
font0.bin 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây
font1.bin 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây
font2.bin 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây
font3.bin 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây
font4.bin 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây
mcm2bin.py 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây
mcm_all.py 6b2cb6fa39 this N3 net clean robot use bfd1.5V6 2 năm trước cách đây

README.md

Font styles

There are various font styles available to choose from. Credits to inavosd for providing the basis to develop on.

Font styles can be switched on-the-fly font style by setting parameter OSD_FONT to the desired number. This works for hardware backends as well as for SITL OSD.

Available styles and respective OSD_FONT numbers are:

clarity (OSD_FONT 0, default) a clearly visible large font:

clarity_medium (OSD_FONT 1) good visibility, less dominant than clarity default:

bfstyle (OSD_FONT 2) bf- / inav-osd default style:

bold (OSD_FONT 3) a bolder version of bfstyle:

digital (OSD_FONT 4) 80's clock radio style:

Adding font styles

Charsets can be edited or built form scratch using MAX7456charwizard. Added charsets need to be converted to a binary file named fontN.bin prior to building the code. Files within this namespace will be automatically included in the build, so you can modify and replace existing .bin files or add your individual styles.

To do that, navigate to:

/ardupilot/libraries/AP_OSD/fonts

in your cloned repository and call:

./mcm2bin.py yourfont.mcm fontN.bin

to convert existent or added charsets into a binary. Now navigate back to the directory root, configure and build for your desired board.