I'm reviewing the code sample for Private Fonts. I'm looking at the "Based on WPF" sample, and I don't quite understand where the fonts are loaded from (the actual .ttf file). In the sample, there's a folder called, "Fonts" where I add "my font.ttf". I then modify the fontName value to refer to this font. When I debug, I get an exception from XPrivateFontCollection.cs : "Font with the specified family name does not exist."
Questions:
1- The URI Path that is specified is :
pack://application:,,, - What the hell does that mean?
2- The example fonts used are "Early_Tickertape.ttf" and "Oblivious.ttf". The "name" value is set to : "./#Early Tickertape" - What does the the '#' symbol used for? and Why doesn't it have the .ttf extension included in the file name?