Silverlight Brass Tacks

Bill Reiss' Silverlight Ramblings
My upcoming Silverlight book for beginners Hello! Silverlight 2 with Dave Campbell, available online now!



Pages

Recent posts

Navigation

Archive

Blogroll

Tampa Divorce Lawyer

North of Tampa in Lutz, Florida. A Tampa Divorce Lawyer focusing on family, divorce, and real estate law.

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Breaking change to font embedding for Silverlight 2 RC0

All fonts embedded in the XAP file must now of of type Resource.

You can then specify the FontFamily as simply the name of the font file followed by the font name, separated by the pound sign, like this:

<TextBlock Text="Testing..." FontFamily="impact.ttf#Impact" FontSize="40"/>

From what I understand this change was made to bring it in line with WPF and to make it so that the font file isn't loosely packaged in the XAP to protect the font file slightly more.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList
Posted: Sep 26 2008, 11:43 by Bill Reiss | Comments (3) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under:

Related posts

Comments

mgalinks.wordpress.com said:

pingbackPingback from mgalinks.wordpress.com

2008 October 08 - Links for today « My (almost) Daily Links

# October 07 2008, 23:00

busby seo test us said:

busby seo testinteresting!!great

# January 12 2009, 17:14

sohbet said:

sohbetthank u
great post
love u all

# April 29 2009, 07:01