为什么我的 Windows 10 程序中的标题字体很大?

为什么我的 Windows 10 程序中的标题字体很大?

最近,我的 Windows 10 程序上的标题栏显示为更大的字体。例如,如果我启动记事本,它看起来像这样:

记事本在标题栏中使用巨大的字体......

“无标题 - 记事本”的字体比我习惯的字体大得多。知道为什么吗?

查看我的显示设置,我唯一注意到的是,我将所有内容都缩放了 250%。但这是我的显示器分辨率的推荐设置,而且很长时间以来都是这样。

谢谢您的任何建议!

更新:我尝试关闭 250% 放大率。一切都变小了,但标题文字仍然比平时大得多——基本上是我之前截图的缩小版。

在此处输入图片描述

答案1

您可以调整标题栏的高度和宽度。转到HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics注册表项。现在更改CaptionHeight和的CaptionWidth值。它们的值将在此公式中-15*pixels

然后退出/登录或重新启动。重新启动 explorer.exe 是不够的。

希望有帮助

答案2

您可以使用这些注册表值来修复该问题。

窗口度量工具

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
"BorderWidth"="-15"
"CaptionFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\
  00,00,00,01,00,00,05,00,53,00,65,00,67,00,6f,00,65,00,20,00,55,00,49,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"CaptionHeight"="-330"
"CaptionWidth"="-330"
"IconFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\
  00,00,01,00,00,05,00,53,00,65,00,67,00,6f,00,65,00,20,00,55,00,49,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"IconTitleWrap"="1"
"MenuFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\
  00,00,01,00,00,05,00,53,00,65,00,67,00,6f,00,65,00,20,00,55,00,49,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"MenuHeight"="-285"
"MenuWidth"="-285"
"MessageFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\
  00,00,00,01,00,00,05,00,53,00,65,00,67,00,6f,00,65,00,20,00,55,00,49,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"ScrollHeight"="-255"
"ScrollWidth"="-255"
"Shell Icon Size"="32"
"SmCaptionFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\
  00,00,00,00,01,00,00,05,00,53,00,65,00,67,00,6f,00,65,00,20,00,55,00,49,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"SmCaptionHeight"="-330"
"SmCaptionWidth"="-330"
"StatusFont"=hex:f4,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\
  00,00,00,01,00,00,05,00,53,00,65,00,67,00,6f,00,65,00,20,00,55,00,49,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"PaddedBorderWidth"="-60"
"AppliedDPI"=dword:00000060
"IconSpacing"="-1125"
"IconVerticalSpacing"="-1125"
"MinAnimate"="1"

我得到了这些值

  1. 创建全新用户
  2. 打开 regeditHKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics
  3. 右键单击WindowsMetrics并导出到您的主用户可以访问的某个文件,例如C:\windowmetrics.reg
  4. 登录您原来损坏的用户帐户
  5. 右键单击 .reg 文件并选择Merge
  6. 注销并再次登录

这些步骤刚好为我解决了这个问题。Windows 10 22H2 在 Parallels VM 中运行。

答案3

就我而言,什么都没用。即使在刚刚安装 Windows 11(从 Windows 10 切换)后,屏幕唤醒时问题仍然会偶尔出现。

然后我发现,到目前为止,唯一的恢复方法:

  1. 拔下 HDMI 线
  2. 将电缆插回去!

相关内容