[UWP]超过一定大小的字体会导致字母在Textblock中消失,文字最终消失。仅限移动设备 [英] [UWP] Font over certain size will cause letters disappear in Textblock, text disappeared eventually. On mobile only

查看:143
本文介绍了[UWP]超过一定大小的字体会导致字母在Textblock中消失,文字最终消失。仅限移动设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

相同的UWP + Windows Mobile 10

Same UWP + Windows Mobile 10

超过一定大小的字体会导致字母在Textblock中消失,文字最终消失。

Font over certain size will cause letters disappear in Textblock, text disappeared eventually.

减少文本将再次返回的字体大小。

Decrease the font size the text will be back again.

相同的UWP + Windows 10 =确定

Same UWP + Windows 10 = OK

使用PC,甚至会显示巨大的字体大小,没有什么遗漏。

With PC, even huge font size will be displayed, nothing missing.

重现问题的步骤:

将一个Textblock和一个滑块放入app。

Put a Textblock and a slider in the app.

将文本块字体大小绑定到滑块的值

bind textblock font size to slider's value

将滑块最小值和最大值设置为1到5000.

set slider min and max like 1 to 5000.

在PC上运行应用程序,无论大小是1还是5000,textblock都能正常显示所有文本。

Run the app on PC, textblock works fine all text displayed no matter the size is 1 or 5000.

现在在Windows Mobile 10上运行相同的应用程序,当字体大小为大约308以后,文本块中的文本开始消失,大约400多个文本块中的所有文本最终消失。

Now run the same app on the Windows Mobile 10, when the font size is around 308 and beyond, the text in the textblock begin to disappear, around 400+ all text within texblock disappeared eventually.

是Windows吗?错误或?

Is it a Windows bug or?

任何人都可以确认或帮助?

Anyone can confirm or help?

谢谢

推荐答案

手机屏幕比电脑或平板电脑显示器小很多。  我不确定手机上有大字体是否有效
The phone screen is a lot smaller than a computer or tablet monitor.  I am not sure having a font that big is a valid on a phone


这篇关于[UWP]超过一定大小的字体会导致字母在Textblock中消失,文字最终消失。仅限移动设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆