Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/silverlight/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Silverlight 向WP7应用程序添加外部字体_Silverlight_Visual Studio 2010_Windows Phone 7_Windows Phone 7.1 - Fatal编程技术网

Silverlight 向WP7应用程序添加外部字体

Silverlight 向WP7应用程序添加外部字体,silverlight,visual-studio-2010,windows-phone-7,windows-phone-7.1,Silverlight,Visual Studio 2010,Windows Phone 7,Windows Phone 7.1,我希望我的WP7应用程序控件具有Visual studio字体选择中没有的特定字体,如何将字体添加到Visual studio的字体列表或直接添加到控件中?以下是一篇文章,介绍如何在silverlight项目中嵌入字体(请参阅“自定义字体”一节): 我还没有在windows phone项目中测试过这一点,但它应该可以工作。使用Expression Blend可以很容易地做到这一点 在您的项目中,选择一个TextBlock并转到属性面板,在文本部分下,有一个字体管理器按钮(见下文),单击它,然后

我希望我的WP7应用程序控件具有Visual studio字体选择中没有的特定字体,如何将字体添加到Visual studio的字体列表或直接添加到控件中?

以下是一篇文章,介绍如何在silverlight项目中嵌入字体(请参阅“自定义字体”一节):


我还没有在windows phone项目中测试过这一点,但它应该可以工作。

使用Expression Blend可以很容易地做到这一点

在您的项目中,选择一个
TextBlock
并转到属性面板,在文本部分下,有一个字体管理器按钮(见下文),单击它,然后您可以在弹出窗口中选择所需的字体

Expression Blend将自动创建字体文件夹,并将所有嵌入的字体放在其中,非常易于使用。:)


混合字体嵌入是一个不错的选择。您可以创建glyph子集等,然后将所有内容压缩到单个zip文件中。VS不会执行任何操作。不确定,但此链接应包含必要的信息: