Код: Выделить всё
var fontCollection = new PrivateFontCollection();
fontCollection.AddFontFile(Server.MapPath("~/fonts/abraham-webfont.ttf"));
fontCollection.Families.Count(); // => This line tells me, that the collection has 0 items.
Я проверил, что путь действителен (
Код: Выделить всё
File.Exists
Код: Выделить всё
Response.Write(System.IO.File.Exists(Server.MapPath("~/fonts/abraham-webfont.ttf"))); // # => Renders "True"

Есть предложения?
Подробнее здесь: https://stackoverflow.com/questions/400 ... collection