WPF Font Scaling Problem with Render Target Bitmap at Format1bppIndexed
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
I am using .Net framework 4.6.1 and faced following scaling problem in Arial Font.
Below image is generated with same program at DPI 96 for [100% windows 10 Scaling] and
DPI 120 for [125% recommended windows 10 Scaling]
In the result we can clearly see non homogeneity in rendering

I am also attaching project file,
You can experience same with program and executable (Its based on Arial Font)
Steps to reproduce:
Drag/move canvas elements on left and you will see Format1bppIndexed Image
image generated on left side.
All I want is to have homogeneous and smooth text rendering under different windows 10 scaling when rendering target bitmap @ Format1bppIndexed from WPF Element.
I am also attaching solution for reproducing,
_This issue has been moved from https://developercommunity.visualstudio.com/content/problem/449544/wpf-font-scaling-problem-with-render-target-bitmap.html
VSTS ticketId: 789260_
_These are the original issue comments:_
(no comments)
_These are the original issue solutions:_
(no solutions)
Contributor guide
Assessment
This issue has not been assessed yet.