dotnet / dotnet/wpf

Rendering artifacts using MS Mincho font

Open
#5,509 21 comments 1 reaction 0 assignees View on GitHub
Bug
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

- .NET Version : .Net 4.6.2
- Windows version: Windows 10

Problem description:
I noticed that there is rendering artifacts when the using textblock with MS Mincho font.
I also noticed that the rendering is very different between .NET 3.5 and .NET 4.6.2

I shared the solution to reproduce this phenomenon.
[TextBlockRenderingIssue.zip](https://github.com/dotnet/wpf/files/7343207/TextBlockRenderingIssue.zip)
Please compile and run the executable from TextBlockRenderingIssue and TextBlockRendering.NET3.5 project

Actual behavior:
![Screenshot 14_10_2021 1_16_34 PM](https://user-images.githubusercontent.com/12887997/137256251-447a4171-3f40-4a1d-a246-1ba591e669c8.png)

Expected behavior:
![Viewer Size_ Width_ 1823, Height_ 965 Canvas Size_ Width_ 1866, Height_ 984 14_10_2021 1_17_10 PM](https://user-images.githubusercontent.com/12887997/137256257-04cd48f5-1057-47ac-9a36-a0c86864a055.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.