microsoft/Terminal

Incorrect DPI scaling for font preview in shell properties dialog

Open

#1,877 建立於 2019年7月8日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)C++ (3,212 fork)batch import
Area-UserInterfaceHelp WantedIssue-BugProduct-Conhost

倉庫指標

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

描述

Environment

Windows Build Number: 10.0.18362.207
  • This issue relates to the built-in conhost.
  • Tested on a single monitor system at 200% DPI.

Description

The font preview shown on the Fonts tab or Colours tab doesn't use the correct DPI scaling when accessed via a shortcut's property dialog. However, the same font preview shown on a console window's property dialog does use the correct scaling.

Comparison Screenshot

Steps to reproduce

  1. Set the system DPI scaling to be higher than 100% (I use 200%). Sign in and out if changing.
  2. Find or create a shortcut to a console app (e.g. Command Prompt).
  3. Open the shortcut's property dialog and go to the Fonts tab or Colours tab.
  4. See that the font preview is not correctly scaled for the DPI.
  5. Run the console app and open the console window's property dialog.
  6. Go to the Fonts tab or Colours tab, and see that the font preview is correctly scaled for the DPI.

貢獻者指南