3
I am embedding some fonts in my WPF application but some are not displayed.
Fonts are in the /Fonts folder at the application root and their properties are set to Resource.
Use like this:
<TextBlock FontFamily="pack://application:,,,/Fonts/#Pericles" />
<TextBlock FontFamily="pack://application:,,,/Fonts/#Pericles Light" />
In this case, "#Pericles" whose name is simple, displays normally. Already "#Pericles Light" which has compound name, does not display. Although several examples I found suggest this shape, I believe there must be some escape character for the spaces in the font name. It will be?
You mean
\
?– ptkato
I believe backslash does not work in XAML. I tried   unsuccessfully. :(
– RRManzke