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.

Be careful when embedding fonts in Silverlight XAP file

There was a question on the Silverlight forums a while back where someone wanted to use the Tahoma font in their Silverlight application. http://silverlight.net/forums/p/20570/77555.aspx

Tahoma isn't included in the built in fonts, so one suggestion was to include the tahoma ttf file in the XAP file. I raised a red flag on that because of discussions I was involved with when XNA Game Studio first got text support. It turns out that you, as a user of Windows, do not have permission to redistribute the font files included with Windows.

There was some discussion about whether it was the same as embedding a font file in a Word doc, which you are allowed to do, but the difference is that the font file is obfuscated when embedded in a Word doc, so you can't easily extract the font file. In a XAP file (even if it's embedded as a resource in the DLL) it is trivial to extract the font file.

Stefan Josten followed up and contacted someone at Microsoft and received the response that you cannot in fact legally embed Tahoma in a Silverlight app without obtaining a license from the font author http://www.ascendercorp.com/inquiry.aspx?Ref=Microsoft

So if you're embedding fonts in Silverlight, make sure they are public domain or you have the license to redistribute them.

DISCLAIMER: I am not a lawyer and you should consult your favorite attorney about this or any other legal issue.

Posted: Aug 05 2008, 10:33 by Bill Reiss | Comments (5) RSS comment feed |
  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Filed under:

Related posts

Comments

timheuer us said:

timheuerAnd when you do, make sure you do it the correct way: silverlight.net/learn/learnvideo.aspx?video=69800

# August 05 2008, 11:38

Bill Reiss us said:

Bill ReissThanks Tim, a very helpful video, not surprising with all of the quality content you provide. Can I license Tim Heuer Normal? Smile

# August 05 2008, 12:44

timheuer us said:

timheuerTim Heuer Normal is licensed royalty free for wide distribution Smile

# August 12 2008, 20:01

geekswithblogs.net said:

pingbackPingback from geekswithblogs.net

Silverlight Cream for August 13, 2008 -- #345

# August 13 2008, 04:00

Busby SEO Test us said:

Busby SEO TestDoing embed is difficult, but now with this post i can do it with my own. thanks

# December 05 2008, 04:55

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

said:

# January 06 2009, 02:24