microsoft/Terminal

Incorrect DPI scaling for font preview in shell properties dialog

Open

#1877 aperta il 8 lug 2019

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)C++ (3212 fork)batch import
Area-UserInterfaceHelp WantedIssue-BugProduct-Conhost

Metriche repository

Star
 (35.764 star)
Metriche merge PR
 (Merge medio 27g 19h) (24 PR mergiate in 30 g)

Descrizione

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.

Guida contributor