Take the 2-minute tour ×

When specifying a fallback font in Silverlight, is it possible to pair it with a font size?

The problem is that different fonts take different amount of space at a given font size. I'd like to be able to provide font size for each fallback font to make them more compatible in terms of space consumption.

share|improve this question
+1, good question. i'd be interested in the answer as well. –  Todd Main Jan 25 '11 at 18:17
add comment

1 Answer

up vote 1 down vote accepted

As of Silverlight 4, the answer is No. This is a great idea, and you should push for it! (Go here to request it)

fallbackFontFamilyName value only helps Silverlight FIND a font, not use it.

Here are the docs for FontFamily and FontSource.

XAML allows you to specify PT, or PX as the measurement for every FontSize. However, Silverlight doesn't care, and defaults all font sizes to PX. It would be nice if you could give a specific size for each USE of a font.

+1 for WPF, -1 to consistency

share|improve this answer
add comment

Your Answer


