microsoft / microsoft/microsoft-ui-xaml
SemiBold font weight is thinner than Normal after update from 1.5 to 1.6
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 942
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 105
Description
Describe the bug
When using SemiBold Font weight with e.g. Roboto font, the font is actually thinner than Normal font weight,
in 1.5 there was no issue with that
Roboto font version installed in the system (by default) : 1.00000; 2011
Steps to reproduce the bug
- Create an app with TextBlock as below:
<TextBlock FontWeight="SemiBold" FontFamily="Roboto" Text="Roboto SemiBold Size 16" FontSize="16" />
<TextBlock FontWeight="Normal" FontFamily="Roboto" Text="Roboto Normal Size 16" FontSize="16" />
- Check with version 1.5
- Update to version 1.6 - SemiBold text will be thinner
Expected behavior
SemiBold text for Roboto font should be bolder than normal font weight in version 1.6
Screenshots
NuGet package version
WinUI 3 - Windows App SDK 1.6.1: 1.6.240923002
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the provided WinUI 3 TextBlock reproduction using Roboto, comparing Windows App SDK 1.5 with 1.6.1 on Windows 11. Trace the font-weight handling involved in TextBlock rendering and verify that SemiBold is visibly bolder than Normal without regressing the existing reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100