ardupilot/libraries/AP_OSD/fonts
2018-07-09 19:48:09 +10:00
..
bfstyle.mcm AP_OSD: added fonts and styles 2018-07-09 19:48:09 +10:00
bfstyle.png AP_OSD: Addded README.md for fonts 2018-07-09 19:46:48 +10:00
bold.mcm AP_OSD: added fonts and styles 2018-07-09 19:48:09 +10:00
bold.png AP_OSD: Addded README.md for fonts 2018-07-09 19:46:48 +10:00
clarity_medium.mcm AP_OSD: added fonts and styles 2018-07-09 19:48:09 +10:00
clarity_medium.png AP_OSD: Addded README.md for fonts 2018-07-09 19:46:48 +10:00
clarity.mcm AP_OSD: added fonts and styles 2018-07-09 19:48:09 +10:00
clarity.png AP_OSD: Addded README.md for fonts 2018-07-09 19:46:48 +10:00
digital.mcm AP_OSD: added fonts and styles 2018-07-09 19:48:09 +10:00
digital.png AP_OSD: Addded README.md for fonts 2018-07-09 19:46:48 +10:00
font0.bin AP_OSD: added fonts and styles 2018-07-09 19:48:09 +10:00
font1.bin AP_OSD: created font binaries 2018-07-09 19:48:09 +10:00
font2.bin AP_OSD: created font binaries 2018-07-09 19:48:09 +10:00
font3.bin AP_OSD: created font binaries 2018-07-09 19:48:09 +10:00
mcm2bin.py AP_OSD: fixed type in the script 2018-07-04 17:16:45 +10:00
README.md AP_OSD: Addded README.md for fonts 2018-07-09 19:46:48 +10:00

Font styles

The implementation of on-the-fly font style switching is still work in progress. As for now, there's a variety of font styles that can be chosen prior to building the code.

Credits to inavosd for providing the basis to develop on.

Available font styles are:

clarity (default) a clearly visible large font:

clarity_medium good visibility, less dominant than clarity default:

bfstyle bf- / inav-osd default style:

bold a bolder version of bfstyle:

digital 80's clock radio style:

Individualizing charsets

Charsets can be edited or built form scratch using MAX7456charwizard

Building a firmware with a non-default font style

On-the-fly style switching being still-work-in progress, as for now it is required to convert the desired .mcm file to a file named clarity.bin that is automatically integrated into the build.

In your cloned repository navigate to this directory:

/ardupilot/libraries/AP_OSD/fonts

and call "mcm2bin.py input.mcm output.bin" to convert your chosen .mcm file:

./mcm2bin.py yourfont.mcm clarity.bin

Now navigate back to the directory root, configure and build for your desired board.