WPF FontFamily from memory
Posted on 2013-01-23
I am creating a program that downloads a required font through a web service as a byte and I would like to assign the font on a label control.
I know I could save the font as a file and get a new FontFamily from a URI but I'd rather not have temporary files.
I have seen that in System.Drawing you could use a PrivateFontCollection from memory but I'm not sure if its possible use that in a WPF label.