microsoft/Terminal

Background image should (optionally?) render pixel-for-pixel rather than scaling with the system scale

Open

#5,480 建立於 2020年4月23日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)C++ (3,212 fork)batch import
Area-TerminalControlHelp WantedIssue-BugPriority-3Product-Terminal

倉庫指標

Star
 (35,764 star)
PR 合併指標
 (平均合併 27天 19小時) (30 天內合併 24 個 PR)

描述

Description of the new feature/enhancement

This might be related to #2370, but it addresses a slightly different problem.

Currently, Windows Terminal scales the background image according to your system UI scale. So, for example, if your UI scale is set to 150% in Windows Settings, and you set a 100×100-pixel background image with backgroundImageStretchMode: none, the image will be rendered at 150×150. This might not be what you want, since the scaling will blur sharp edges, and the image will be much larger than you might have expected.

Proposed technical implementation details (optional)

There should be some way to indicate that we want our background image to render pixel-for-pixel, rather than be enlarged according to the UI scale.

Or else maybe it should simply render pixel-for-pixel by default. This was my expectation; not sure if it matches the expectation of others.

貢獻者指南