豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

fix(message-reader): adds font scaling to match user preferences#10751

Merged
dani-zilla merged 1 commit intothunderbird:mainfrom
dani-zilla:fix/10692/message-reader-font-size-option
Apr 1, 2026
Merged

fix(message-reader): adds font scaling to match user preferences#10751
dani-zilla merged 1 commit intothunderbird:mainfrom
dani-zilla:fix/10692/message-reader-font-size-option

Conversation

@dani-zilla
Copy link
Copy Markdown
Contributor

Fixes: #10692

Before:

Screenshot 2026-03-26 at 5 39 50 PM

Notice the font size in the information header, which is based on the system font size, and how the text below it is unchanged compared to...

After:
tinyToHugeFontSizing

Where the font scales with the user's settings.

Users noticed that the font size in messages did not scale with the device preferences. This is fixed by getting the current system fontScale and multiplying it by the incoming font size. This does not alter the display if the user has chosen to force messages to fit in the window by shrinking them, that option will still be respected. If they turn this off, font will scale with the system font.

@github-actions
Copy link
Copy Markdown
Contributor

Missing report label. Set exactly one of: report: include, report: exclude OR report: highlight.

@github-actions github-actions bot added the tb-team Tasks and features handled by project maintainers label Mar 26, 2026
@dani-zilla dani-zilla added the report: include Include changes in user-facing reports. label Mar 26, 2026
@wmontwe wmontwe requested review from wmontwe and removed request for jbott-tbird March 27, 2026 12:26
@wmontwe wmontwe assigned wmontwe and unassigned jbott-tbird Mar 27, 2026
@dani-zilla dani-zilla force-pushed the fix/10692/message-reader-font-size-option branch from 9cb4d65 to 4e7087d Compare March 31, 2026 21:49
@dani-zilla dani-zilla force-pushed the fix/10692/message-reader-font-size-option branch from 4e7087d to ce35f60 Compare March 31, 2026 22:08
Copy link
Copy Markdown
Member

@wmontwe wmontwe left a comment

Choose a reason for hiding this comment

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

Works great, thank you!

@dani-zilla dani-zilla merged commit 1da664f into thunderbird:main Apr 1, 2026
15 checks passed
@dani-zilla dani-zilla deleted the fix/10692/message-reader-font-size-option branch April 1, 2026 15:05
@thunderbird-botmobile thunderbird-botmobile bot added this to the Thunderbird 19 milestone Apr 1, 2026
@mikhailzolikoff
Copy link
Copy Markdown

I presume it'll take "a minute" for this to be deployed to the Play Store?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

report: include Include changes in user-facing reports. tb-team Tasks and features handled by project maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Message Reader — Compose Rewrite — Message Reader doesn't take into account the user's preferred system font size

4 participants