Along with Expression Blend 2 came a new functionality for embedding fonts in your project. The problem is that this results in a heavier than expected .xap file, especially noticeable in a tiny little project.

I had in mind this very simple Silverlight Loader (to use as a splash screen) that contained one word that would slide back and forth. I created a TextBlock and embedded one of my favorite fonts to try; The result was a 59k .xap. In order to not have to embed any fonts in the project I converted the text to paths... I'm lying. I did it to better achieve the animation I desired.

Before doing this I prefer to modify the text to the right size although every modification is possible later as well.

Select the TextBlock and right-click or Object/Path/Convert to Path. Then you can separate the letters to be able to move each letter independently: select the path, right-click or Object/Path/Release Compound Path but then you need to fix the letters that form loops like A or O because they become two different paths (see image below). To do so select the two paths that form one letter, right click or Object/Combine/Exclude Overlap.

I especially like that now the text can have all the attributes of a regular path so the graphic rendering has the potential to be more sophisticated. The top text is a TextBlock while the middle one is the same converted to path. I left the O's without excluding the overlap to show what loopy letters look like right after being converted to path. The bottom row shows a few variations of what can be achieved with text as paths in Expression Blend 2.

After deleting the Fonts folder from the project I obtained 17k instead of 59k (wink!). You can see the result on for 2 seconds while the games thumbnails are loading.


Currently rated 1.4 by 16 people

  • Currently 1.4375/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Related posts


Thursday, November 20, 2008 4:16 PM

Pingback from

Silverlight Cream for November 20, 2008 -- #433

Thursday, November 20, 2008 7:35 PM

Pingback from

2008 November 21 - Links for today « My (almost) Daily Links

Silverlight Travel ch

Saturday, November 22, 2008 5:59 AM

Much better than to add the complete font.
Thanks for the nice tip

Peter Loebel

Saturday, October 31, 2009 2:34 AM

Pingback from

Obtain cool looking text without embedding fonts in Expression Blend 2 Silverlight Web

Comments are closed