Well, I basically want to literally embed my collection of fonts that I will be using in my WPF app. They're stored in my own virtual file system (like WinRAR), and I just want to load them through a byte array or a memory stream. However, I haven't been able to find any working solutions. I've tried PrivateFontCollection, but at the end, I realized that the Families property is for WinForms (System.Drawing.FontFamily and NOT System.Windows.Media.FontFamily). I also classify extracting them to the OS level out of the question.
So the question still remains:
How to load a System.Windows.Media.FontFamily using a byte array or a memory stream?
EDIT:
This is a .ttf file (True Type Font)