Skip to main content
Home Forums Silverlight Programming Programming with .NET - General How to display glyphs from propietary font?
2 replies. Latest Post by siegfried_heintze on August 14, 2008.
(0)
siegfrie...
Member
5 points
19 Posts
08-14-2008 3:23 AM |
Alexande...
164 points
37 Posts
08-14-2008 4:08 AM |
At first, these fonts should be available on client's machine.
Some time ago, browsers (especially IE6) allowed to download fonts from web pages by default, but now none of them will allow you to do so (because of security implications).
Maybe Silverlight is able to load fonts from .XAP, but the documentation is unclear on this.
The simplest solution (which is also commonly used in game development) is to rasterize those glyphs. It can become an issue if you want your web pages to be accessible, though.
Flash has an option to import fonts inside the SWF as vector glyphs in this case.
So, this is not a solution, but I hope this made the problem clearer to you :)
08-14-2008 4:33 AM |
Ooops -- sorry to spam everyone! Problem solved: I was misspelling the font name! Argh!