向 WP7 应用程序添加外部字体 [英] Adding an external font to WP7 app
本文介绍了向 WP7 应用程序添加外部字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想要我的 WP7 应用程序控件并拥有某种不在 Visual Studio 字体选择中的字体,如何将字体添加到 Visual Studio 的字体列表或直接添加到我的控件中?
I want my WP7 app controls and to have a certain font which is not in Visual studio font selection, how can I add the font to the font list of Visual studio or directly into my controls?
推荐答案
这里的帖子展示了如何在 Silverlight 项目中嵌入字体(请参阅自定义字体"部分):http://blogs.silverlight.net/blogs/msnow/archive/2009/09/09/97060.aspx
Here's a post showing how to embed fonts in a silverlight project (see the section 'Custom Fonts'): http://blogs.silverlight.net/blogs/msnow/archive/2009/09/09/97060.aspx
我还没有在 Windows Phone 项目中测试过这个,但它应该可以工作.
I haven't tested this in a windows phone project but it should work.
这篇关于向 WP7 应用程序添加外部字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文