【问题标题】:Windows phone is not showing fontweight to Light on deviceWindows 手机未在设备上将字体粗细显示为 Light
【发布时间】:2015-02-12 14:29:58
【问题描述】:

我正在尝试在我的 Windows Phone 应用程序中添加 fontWeight="Light"。但它不适用于设计师它在模拟器或设备上显示浅字体它根本不会使字体变薄。

 <TextBlock Text="Some text in normal" FontSize="22" FontFamily="Segoe UI" FontWeight="Normal" />
    <TextBlock Text="Some text in normal" FontSize="22"   FontFamily="Segoe UI" FontWeight="Light" />

这是它在设备上的外观。

这是它在 VS 设计器中的外观。

我做错了什么

【问题讨论】:

    标签: xaml fonts windows-phone-8.1 win-universal-app


    【解决方案1】:

    将字体系列从 Segoe UI 更改为 Segoe WP

    【讨论】:

    • 但我想要 Segoe UI 字体
    • 我认为 Windows Phone 只是没有这种字体。为什么需要 Segoe UI? Segoe WP 外观几乎相同,但针对 Windows Phone 设备进行了优化。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-12-27
    • 2018-02-15
    • 2014-10-04
    • 1970-01-01
    • 2012-12-10
    相关资源
    最近更新 更多