It seems like an easy question, how can I get the actual name of font from command line.
Here is an example. The font filename is segoesc.ttf
. However, the actual name of font that shows up in the Font Menu is Segoe Script
.
What I have tried:
There is a python script out there, that can get the font name. But I prefer not to have Python dependency.
Right clicking on Fontfile and go to Properties > Details, gives me the list of properties. I tried to use
wmic
but it does not showTitle
property.
wmic datafile "c:\Windows\fonts\segoesc.ttf" get Title
Thanks.
No comments:
Post a Comment