Can someone tell me how can I get the typeface name of a font? And how can I take the Windows name of the font having the typeface name?
Like "arialblackno1.ttf" that have typeface "arialblack".
but I am looking to get the typeface name of a font that isn't installed, it is just in a folder.
You say in a comment that you need the name of a font that isn't installed in Windows.
There are two ways of doing this that I can think of:-
Use FreeType
Or, use GDI+, and PrivateFontCollection.AddFontFile()
Either way, you will need to find Delphi wrappers for these libraries. Google should help.
There seems to be a FreeType binding as part of AggPas. It's not something I've tried, though.