> > Hi,
>
[quoted text clipped - 13 lines]
> Font.Font(String, Single) Constructor has a family name as a first
> parameter, not a file namehttp://msdn2.microsoft.com/en-us/library/164w6x6z.aspx
P.S.
If you would need to load a font from the file, try following:
PrivateFontCollection p = new PrivateFontCollection();
p.AddFontFile(Server.MapPath("somefont.ttf"));
FontFamily ff= privateFontCollection.Families[0];
Font f = new Font(ff, 200);
Alexey Smirnov - 20 Oct 2007 13:00 GMT
> > > Hi,
>
[quoted text clipped - 24 lines]
>
> - Show quoted text -
FontFamily ff= p.Families[0];