Skip to content

Asset Packs: Fixes custom font position in speech bubbles#385

Open
956MB wants to merge 1 commit intoNext-Flip:devfrom
956MB:fix/custom-font-bubble-acsent
Open

Asset Packs: Fixes custom font position in speech bubbles#385
956MB wants to merge 1 commit intoNext-Flip:devfrom
956MB:fix/custom-font-bubble-acsent

Conversation

@956MB
Copy link
Copy Markdown
Member

@956MB 956MB commented Mar 16, 2025

Fixes the misaligned custom fonts in bubbles by checking if the current secondary font is a custom font loaded by your asset pack, then adds a small offset to properly center it.

Before After
FontAscentLockscreenBefore FontAscentLockscreenAfter
FontAscentDesktopBefore FontAscentDesktopAfter

For the reviewer

  • I've uploaded the firmware with this patch to a device and verified its functionality
  • I've confirmed the bug to be fixed / feature to be stable

- Checks if the current font for speech bubbles (Secondary) is a custom font loaded by your asset pack, then adds a small offset to properly center it in the bubble.
@GameLord2011
Copy link
Copy Markdown
Contributor

Plz merge this.

956MB added a commit that referenced this pull request Jan 2, 2026
956MB added a commit that referenced this pull request Jan 2, 2026
This branch consolidates several [PRs](https://github.com/Next-Flip/Momentum-Firmware/issues?q=is:pr+is:open+author:956MB) (UI fixes and additions) into a usable build. Flash space is extremely low as is, and excluding some weather stations and other SubGHz protocols is necessary to be able to fit these PRs and allow for further changes. The ones that have been *temporarily* excluded are hopefully uncommon or legacy protocols that won't be missed if you're using this branch. The point of this branch being primarily UI features.

* #327
* #344
* #354
* #385

Excluded protocols:

* Uncommon/Regional gate, garage, and alarm protocols: `nero_sketch`, `nero_radio`, `ido`, `kia`, `power_smart`, `doitrand`, `ansonic`, `smc5326`, `linear_delta3`, `dooya`, `kinggates_stylo_4k`, `dickert_mahs`, `hay21`, `feron`, `elplast`, `schrader_gg4`, `tpms_generic`.
* Obscure weather-station protocols: `solight_te44`, `infactory`, `acurite_986`, `auriol_ahfl`, `auriol_hg0601a`, `emos_e601x`, `gt_wt_02`, `gt_wt_03`, `kedsum_th`, `nexus_th`, `oregon_v1`, `thermopro_tx4`, `tx_8300`, `vauno_en8822c`, `wendox_w6726`.
@956MB 956MB mentioned this pull request Jan 2, 2026
@956MB 956MB moved this from In Progress to Done in Momentum Progress Tracker Jan 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants