ttf Font Name

ttf Font Name

Forum member · Feb 19, 2008
Hi, Is there a way to get the font name as it would show up in windows? For example my ttf file, "C:\windows\fonts\agencyr.ttf" shows up as "Agency FB" in Microsoft Word. However, when I do this: (new TrueTypeFont("C:\windows\fonts\agencyr.ttf")).Name I get this: "AgencyFB-Reg" Mike

Re: ttf Font Name

Support · Feb 19, 2008
Hello Mike, There is nothing within our product that will allow you to retrieve the name of the true type font as it will show up in Windows. Thanks, ceTe Software Support Team

Re: ttf Font Name

Forum member · Feb 20, 2008
Oh well. It just looked to me like your code was finding the font name from the ttf file and then running some sort of algorithm to change it a little. I ended up finding some .NET code to parse the ttf file and get the font name from that. Mike