D
daveL
Im Trying to Add a Font to PrivateFontCollection
it keeps crashing on File Not Found Exception
ive Tried full path and without full path
File.Exists returns true.... I dont understand this
sample below
Tia
dave
PrivateFontCollection MyFonts = new PrivateFontCollection();
MyFonts.AddFontFile("vt100.fon"); //Hvtermw.ttf");
aFamilies = MyFonts.Families;
for (int x = 0; x < aFamilies.GetLength(0); x++)
{
Console.WriteLine(aFamilies[x]);
Console.ReadKey();
}
it keeps crashing on File Not Found Exception
ive Tried full path and without full path
File.Exists returns true.... I dont understand this
sample below
Tia
dave
PrivateFontCollection MyFonts = new PrivateFontCollection();
MyFonts.AddFontFile("vt100.fon"); //Hvtermw.ttf");
aFamilies = MyFonts.Families;
for (int x = 0; x < aFamilies.GetLength(0); x++)
{
Console.WriteLine(aFamilies[x]);
Console.ReadKey();
}