Free Embeddable Fonts for your WPF Applications
Using attractive typefaces can add individuality to your application, or reinforce your brand. Although we talked about the means to embed WPF fonts in your application a long time ago, the biggest issue with font embedding is the licensing issues associated with fonts, especially if you’re working on a code sample or free utility. Most fonts, even the multitude that you can download for free online, are not licensed to allow redistribution as part of your application.
Fortunately a small group of fonts has started to be released under a much more permissive license – the SIL Open Font License (OFL) - which specifically allows embedding in applications, both commercial, free and open-source (disclaimer: I am not a lawyer, you should read the license yourself and/or seek legal advice before making any decisions regarding font licensing). This is a very generous move on the part of these type designers who spend considerable time and skill on designing beautiful fonts.

Here is a sample application that uses some of my favourite of OFL-licensed fonts from around the web including Titillium, Goudy Bookletter 1911, and Junction. Great resources for finding new fonts with the OFL license is the Open Font Library and the League of Movable Type.
download source [413 KB] (including fonts!)
From a programming point-of-view it pays to remember this trick from the MSDN for finding the names of embedded fonts. Sometimes the name is not apparent from the file name OR from the info you see in the "Install Font" dialog in windows. Instead you can programatically iterate through the installed fonts using this snippet of code.
// iterates over embedded fonts - assumes you have fonts in a sub-directory called "Fonts" in the project in visual studio
foreach (var fontFamily in Fonts.GetFontFamilies(new Uri("pack://application:,,,/"), "./Fonts/"))
{
// do stuff with fonts here
}
Categories:
Comments:
#
support
posted by
hanyu
on
11/25/2009 2:02:54 PM
:
Support of the Lou Zhu, Lou Zhu worked hard
Signature--------------------------------------------------------------------------------------------------------------------
Nothing is impossible for a willing heart
<a href="
http://www.uggshelf.com/Products.html">ugg Boots</a>
#
uggs on sale
posted by
uggs on sale
on
11/25/2009 4:33:37 PM
:
S11125L2UGG popular star in Hollywood several years ago had spread to uggs on sale mean the improvement of people's lives and as a force to follow the ugg boots uk star to wear UGG's wave of school is becoming everyone's most interesting content. Here Ai Sa Kaka on the boots on sale popular UGG fashion for up to one sorted out a set of current Hollywood's most sought-after actress of the ugg bailey boots UGG shoes, street beat, let's take a look at what they are wearing UGG's Bar.
http://www.uggbootssaleonline.com
#
Thanks! puma shoes is a world-renowned brand.Wearing it would give people the feeling of a comfort and energy. From here http://www.pumaforever.com we
posted by
puma shoes
on
11/25/2009 11:10:19 PM
:
Thanks! puma shoes is a world-renowned brand.Wearing it would give people the feeling of a comfort and energy. From here
http://www.pumaforever.com we can enjoy discount price.
#
tiffany jewelry
posted by
tiffany jewelry
on
11/25/2009 11:56:03 PM
:
tiffany jewelry
Tiffany Necklaces
Tiffany Earrings
Tiffany Rings
Tiffany Bracelets
#
timberland work boots
posted by
timberland work boots
on
11/26/2009 2:25:19 AM
:
S11125I2 The son of wealthy and influential Athenian parents, Plato began his timberland chukka boots philosophical career as a student of Socrates. When the master died, Plato travelled timberland waterproof boots to Egypt and Italy, studied with students of Pythagoras, and spent timberland work boots several years advising the ruling family of Syracuse. Eventually, he returned timberland custom boots to Athens and established his own school of philosophy at the Academy.For students enrolled there, Plato tried timberland high top boots both to pass on the heritage of a Socratic style of thinking and to guide their progress through mathematical learning to the achievement of abstract philosophical truth.
http://www.officalsale.com/specials.html
#
http://www.ladyugs.com/specials.html
posted by
Ugg Classic Boots
on
11/26/2009 1:13:18 PM
:
S11125H2 Towering genius disdains a beaten path with discount ugg boots. It seeks regions hitherto unexplored.A man may lead a horse to the water, but he cannot make it drink and walk with ugg classic tall .Victory wil not come to ugg lo pro button unless I go to ugg classic cardy.Goals determine what you are going to ,for example, buy ugg knightsbridge.
http://www.ladyugs.com/specials.html
#
Ugg boots
posted by
Ugg boots
on
11/26/2009 6:07:28 PM
:
S11126K2 As the Goldman Sachs Ugg boots (Goldman Sachs) is expected to the oil market in the coming months will go to the Ugg boots sale situation, so the bank decided to maintain the value of its crude oil price forecast unchanged, that is, before the end of this year oil prices will reach 85 U.S. dollars / barrel in 2010 will reach Ugg boots on sale . dollars / barrel. The Bank analyst Allison Nathan on Monday released a report that China's petrochemical and metals sector, active in oil prices will support. cheap ugg boots the Organization of Petroleum Exporting Countries ugg boots uk oil production would decline, which will lead to future crude oil prices and the return rate to rise.
http://www.uggshow.co.uk/specials.html
#
Ugg boots
posted by
Ugg boots
on
11/26/2009 6:07:30 PM
:
S11126K2 As the Goldman Sachs Ugg boots (Goldman Sachs) is expected to the oil market in the coming months will go to the Ugg boots sale situation, so the bank decided to maintain the value of its crude oil price forecast unchanged, that is, before the end of this year oil prices will reach 85 U.S. dollars / barrel in 2010 will reach Ugg boots on sale . dollars / barrel. The Bank analyst Allison Nathan on Monday released a report that China's petrochemical and metals sector, active in oil prices will support. cheap ugg boots the Organization of Petroleum Exporting Countries ugg boots uk oil production would decline, which will lead to future crude oil prices and the return rate to rise.
http://www.uggshow.co.uk/specials.html
#
Ugg boots
posted by
Ugg boots
on
11/26/2009 6:07:31 PM
:
S11126K2 As the Goldman Sachs Ugg boots (Goldman Sachs) is expected to the oil market in the coming months will go to the Ugg boots sale situation, so the bank decided to maintain the value of its crude oil price forecast unchanged, that is, before the end of this year oil prices will reach 85 U.S. dollars / barrel in 2010 will reach Ugg boots on sale . dollars / barrel. The Bank analyst Allison Nathan on Monday released a report that China's petrochemical and metals sector, active in oil prices will support. cheap ugg boots the Organization of Petroleum Exporting Countries ugg boots uk oil production would decline, which will lead to future crude oil prices and the return rate to rise.
http://www.uggshow.co.uk/specials.html
#
http://www.elegantugg.com/ugg-classic-short-c-1.html
posted by
ugg short
on
12/1/2009 5:29:38 PM
:
Ugg classic Short most people around the world accepted by the whole. Ugg short are fashionable, give your feet a warm feeling. Discount ugg boots at inexpensive prices, many people can choose their favorite boots, I believe your choice is good.
http://www.elegantugg.com/ugg-classic-short-c-1.html
#
Air Jordan 8 shoes, UGG boots
posted by
Shoes
on
12/3/2009 5:21:48 PM
:
Thanks for the awesome information.To celebrate Christmas,there are great sale promotions on
http://nikejordanshoes2sell.com/,all of our products such as cheap air jordan men shoes,af1 shoes,nike nz shoes or ed hardy high boots ,d&g high boots are on sale,ugg sundance II boots low price,high quaility.Time limited!come on to get what you want!
#
Online shopping Air Jordan shoes, UGG boots
posted by
online shopping
on
12/3/2009 5:24:30 PM
:
Thank you for the great job,it help me so much!With christmas approaching,our website
http://www.onestop-onlineshopping.com/are on sale promotion,you can find all of our christian louboutin high boots,ugg 30th anniversary and cheap jodan shoes low price but also high quality.more products such as nike shox nz shoes on sale ,d&g men high cut boots, are showing to you.There must be something you would need!
#
Online shopping Air Jordan shoes, UGG boots
posted by
online shopping
on
12/3/2009 5:25:45 PM
:
Thank you for the great job,it help me so much!With christmas approaching,our website
http://www.onestop-onlineshopping.com/are on sale promotion,you can find all of our christian louboutin high boots,ugg 30th anniversary and cheap jodan shoes low price but also high quality.more products such as nike shox nz shoes on sale ,d&g men high cut boots, are showing to you.There must be something you would need!
#
UGG boots sale
posted by
Buy UGG
on
12/3/2009 5:26:46 PM
:
Thank you for the message supplyer!There are amazing ugg ultra tall ,ugg sundance II and cheap ugg night fall sale promotions on our company to thank for the customer of
http://www.uggboots2buy.com/ and to embrace the coming Christmas. You can Get one gift free once you buy an ugg boots,such as cheap ugg classic crochet or ugg bailey button on sale on our website. Action is louder than speak. Hurry up and you may be the first one to get the gift.
#
ed hardy clothing,ed hardy coat
posted by
edfashionclothes
on
12/5/2009 12:49:47 PM
:
Thank you for the message!With the advent of Christmas and to enlarge and refresh our market,we encourage both newcomers and loyal customers to browse our ugg boots sale promotions.The price of our ugg classic argyle knit,ugg bailey button or ugg classic cardy are lowest than anytime and anywhere,there are also lots ugg mayfaire boots and ugg sundance II boots that you can choose.If the goods you choose are more than $100,you can pick up a gift Free.Time Limited, Don't be hesitation,pick up your favorate goods,Free Shipping & Fast Delivery.
http://www.edfashionclothes.com/
#
ugg bailey button,ugg classic argyle knit boots
posted by
nikeaf1jordanshoes
on
12/5/2009 12:50:10 PM
:
Good job!Thank you for your message!It help me so much! Christmas is coming,there are big sales promotions on
http://www.nikeaf1jordanshoes.com/,ugg bailey button and ugg classic argyle knit boots on our site are lower than ever,you may be intersting in ugg mayfaire boots or ugg nightfall boots,ugg sundance II ,come on to choose your favorate goods!
#
ugg bailey button,ugg classic Boots
posted by
uggsnowbootsbest
on
12/5/2009 12:50:43 PM
:
Thank you for the great job!In order to?welcome to Christmas, recently,our company is on ugg boots promotional sales and the?prices of all products such as?ugg sundance II boots or ugg bailey button boots are lower than any time!And the biggest surprise is that?you can buy one get one free,that?is once you buy an ugg mayfaire boots , ugg coquette, or ugg classic crochet,you can get one gift for free.Don't hesitate, to get?a free present, check it on
http://www.uggsnowbootsbest.com/
#
timberland boots,timberland shoes,timberland mens boots ,cheap timberland boots, timberland womens boots
posted by
timberland store
on
12/6/2009 1:16:36 PM
:
S11206C2 Power invariably means both timberland on sale responsibility and cheap timberland boots danger . If your Riches are yours classic timberland boots , why don't you take timberland womens shoes them with mens timberland boots you to the other world ? Money is a good discount timberland boots servant and a bad timberland winter boots master . Money is like muck , not good except it be spread . No country , however rich , can afford the waste of its human resources . Sometimes one timberland store pays most for the things one gets for nothing.
http://www.runtimberland.com/specials.html
#
Timberland boots
posted by
Timberland Classic
on
12/8/2009 1:07:07 AM
:
S11207J2 Currently, Timberland is one of the most famous Timberland Classic brands. Throughout the 1990s, the popularity of the Timberland Kids Boot reached an important point. Also, in that time, the company added more mens Timberland 6 Inch products and lines to its catalog. Now, the prestige as a Timberland custom boots brand with excellent products is unquestionable.
In preparation for the upcoming cold seasons, the company has launched its collection called Timberland Women's Boots, which is already available at the Timberland stores.
http://www.timberlander.com/products_new.html
#
ugg online
posted by
ugg boots
on
12/8/2009 5:41:21 AM
:
Ugg online
Cheap ugg boots
Discount uggs boots
Ugg classic
Cheap ugg
Ugg sale
Ugg classic tall
Shopping for ugg boots
buy ugg boots
ugg brand boots
ugg boots
ugg ultra short
uggs discount boots
shopping for ugg boots
ugg ultra short
ugg new style
uggs discount boots
ugg classic tall
australian ugg boots
wholesale uggs
wholesale shoe
buy uggs boots
baby uggs
uggs outlet
shopping for ugg boots
Ugg Boots appear during the World War I.
If you have a taste of Ugg.Welcome to call on our homepage
"
http://www.classicshortugg.com ".
#
Why? Sometimes
posted by
Cialis
on
12/31/2009 3:36:55 AM
:
Hello folks, Why? Sometimes the name is not apparent from the file name OR from the info you see in the "Install Font" dialog in windows. Instead you can programatically iterate through the installed fonts using this snippet of code.
#
UGG Boots
posted by
UGG Boots
on
1/23/2010 3:40:13 AM
:
UGG Boots has a strong comfort, but also very fashionable, which is the leading fashion and trend of UGG Cardy Boots. The new products of UGG Bailey Button models provide with 10 different colors for your choice to meet a variety of customer preferences. The Discount UGG Classic Short of the other features are: a flexible lightweight, wear-resistant anti-slip, comfortable and warm. Cheap UGG Classic Tall Sale low price but good quality, are exported to the UK and other parts of the world.
http://www.uggsonsalestore.com/
#
uggs on sale
posted by
ugg boots
on
1/26/2010 11:56:02 AM
:
100126SLLYH
Our greatest glory uggs boots consists not in never falling but in rising every ugg classic tall time we fall.It is not enough ugg classic boots to be industrious, so are the ants. What are you industrious about ugg classic argyle knit? You have to believe in yourself. That's the ugg bailey button secret of sucess. A wise man never loses anything if he has himself. To be without some of the things you want is an indispensable part of happiness.
http://www.4ezlive.com/