Blog of Khawar Yunus (double MSTC in WPF & Silverlight)

Silverlight 4 Fonts gotcha

moved to:  http://silverlightwpfguy.wordpress.com/2010/05/07/silverlight-4-fonts-gotcha/

Comments on: "Silverlight 4 Fonts gotcha" (3)

  1. Dhawal Parkar said:

    But what about fonts which are not normally found on systems. I have this funky font I want to use for my Silverlight 4 App.
    How do I include it in my app(eerr..rather xap) and make sure that everywhere the website goes, it loads with this font ?

    • In blend under the properties tab, got to the text properties section. there you should be able to see the a check box for ‘Embed font’. Just check that checkbox for your custom font and it will automatically get embedded.
      P.S. I am currently using Blend 4 RC.

  2. Sorry for the REALLY late reply, but I figured it out, I am doing everything with code behind and not using Blend. In that case I just had to use the FontFamily and set it as resource.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Tag Cloud

Follow

Get every new post delivered to your Inbox.