dotnet / dotnet/maui

[Bug] FontImageSource is not DPI aware in Windows

Open
#1,000 4 comments 0 reactions 0 assignees View on GitHub
area-controls-image platform/windows s/triaged t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 14h
Merged PRs (30d)
296

Description

### Description

This bug: https://github.com/microsoft/Win2D/issues/824

Might be an issue with Win2D: https://github.com/mattleibow/Win2DSourceThing but I also repro-ed it when just loading images from byte streams. Seems views aren't DPI aware natively or something.

Contributor guide

Open the contributing guide

Research direction

Start with the FontImageSource implementation and the linked Win2D issue 824, then review Win2DSourceThing. Reproduce the problem on Windows by loading images from byte streams at different DPI settings. Done means FontImageSource renders with the expected DPI-aware sizing.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.