问题
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?
回答1:
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
I haven't tested this in a windows phone project but it should work.
回答2:
This can be easily done using Expression Blend.
In your project, select a TextBlock
and go to the Properties panel, under Text section, there is a Font Manager button (see below), click it and then you can select the font you want in a popup window.
Expression Blend will automatically create a Fonts folder and put all the embedded fonts in there, really easy to use. :)
来源:https://stackoverflow.com/questions/8079009/adding-an-external-font-to-wp7-app