v0.6.8
** Alert **
Semi-breaking changes:
- You must rename your custom fonts on the Goggles SD card to match the directory structure seen here for proper functionality.
- The "new" functionality requires an upgrade to the air-side before it will work, but won't crash and won't kick in until you upgrade the air-side. That is, if you just upgrade your goggles, the old functionality will remain. So, don't upgrade your AU/Vista until you are ready with renamed fonts. This is intended to catch as few people out in the field as possible - you really shouldn't be updating in the field anyway, and hopefully most people aren't updating both sides.
In this PR, we use the MSP Variant command (command 2) to retrieve the "variant" reported by the Flight Controller (INAV, BTFL, or ARDU).
Then, we use the variant to pick a font, like so:
font_controller_resolution_page.bin
So for example:
font_bf_hd.bin
will be an HD (for use with FakeHD or Ardupilot in Betaflight emulation mode with HD turned on) font with the Betaflight character set.
font_inav_hd.bin
and font_inav_hd_2.bin
would be a set of HD fonts for use with iNav.
Fonts are searched for in the following order:
- SD Card
- /opt installed path in goggles.
- /blackbox
If a font matching the desired flight controller can't be found, msp-osd will fall back to the default font name (font_hd.bin or font.bin .).
Please see the fonts directory for a complete font directory layout. Copying this structure in the root of your SD card will let you customize each font for each FC as you would like.