Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to using new png fonts + .osd file format v2 support: #420

Merged
merged 2 commits into from
May 16, 2024

Conversation

benlumley
Copy link
Collaborator

  • Use PNG font files instead of the old bin format
  • Only 2 fonts now; one for sd + one for hd, rather than separate pages
  • But the PNG can have equivalent of 4 pages; so BF 4.5 colour is supported
  • OSD v2 support; which uses a 4 char string (BTFL/INAV etc) as the FC identifier. Can still handle v1 files too.
  • Font files now optional; it will use the FC variant to load defaults from the msp-osd repo.

- Use PNG font files instead of the old bin format
- Only 2 fonts now; one for sd + one for hd, rather than separate pages
- But the PNG can have equivalent of 4 pages; so BF 4.5 colour is supported
- OSD v2 support; which uses a 4 char string (BTFL/INAV etc) as the FC identifier. Can still handle v1 files too.
- Font files now optional; it will use the FC variant to load defaults from the msp-osd repo.
@benlumley
Copy link
Collaborator Author

(corresponds with upcoming msp-osd 0.12.x)

@stylesuxx stylesuxx self-requested a review May 15, 2024 21:34
src/osd-overlay/osd.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@stylesuxx stylesuxx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one nit picky comment, otherwise everything looks fine to me.

@stylesuxx stylesuxx changed the base branch from master to develop May 16, 2024 11:03
@stylesuxx stylesuxx merged commit d45f322 into fpv-wtf:develop May 16, 2024
1 check passed
@stylesuxx
Copy link
Collaborator

Merged into develop.

@benlumley
Copy link
Collaborator Author

thanks @stylesuxx

@benlumley benlumley deleted the feature/2405-PNGFontsOSDV2 branch May 16, 2024 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants