Skip to content

Remove implicit scaling to improve performance and crispness of High DPI text #5320

@miniksa

Description

@miniksa

In high DPI, we have to disable differential drawing.
This is because the text is drawn at fractional pixel heights and baselines automatically as we're scaling the entire d2d render target. The fractional drawing is also making it look a little bit off for High DPI customers.

So doing the work of removing the implicit scaling and installing our own transforms on the origins and sizes of the five things we draw should resolve this issue:

  1. Clear background rectangles
  2. The cursor
  3. Selection rectangles
  4. The background color behind text
  5. Text runs

Metadata

Metadata

Assignees

Labels

Area-PerformancePerformance-related issueArea-RenderingText rendering, emoji, complex glyph & font-fallback issuesIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsProduct-TerminalThe new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions