Help please - how do you know the name and version of the font file? For example, TTF...
Can it possible to use API FontResource function? How?
Information about the font file
10 posts
For the name, you can use the FontName plug-in. I'm not sure what you mean by the font version...
For example, the font file arial.ttf - Version 3.00Originally Posted by kichik View PostI'm not sure what you mean by the font version...
georgia.ttf - Version 2.12 And so on ...
To update the fonts I need to know the version of the font. How to do it?
FontName plug-in to determine the version of the font can not ...
First time I hear about font versions. I can't find anything about it in the Win32 API. If you can find an exported function that does the trick, you can call it using System::Call. I couldn't find anything with a quick Google search... Maybe you'll have to parse the file manually.
We must somehow get the version information from the table Naming Table ( Name IDs Code 5 Version string )Originally Posted by kichik View PostI couldn't find anything with a quick Google search...
http://www.microsoft.com/typography/otspec/name.htm
But how?
I wonder how to make a program to view the details of fonts ? 🙂
I think the easiest is to write simple plug-in (.dll) which can load this.
Calling API functions from NSIS is not enough in this case.
Calling API functions from NSIS is not enough in this case.
Unfortunately, I'm not a programmer. And I do not understand ... Therefore asked for help ...
No idea how to get the version the font file?
Function GetFontData is not suitable for this ...
Function GetFontData is not suitable for this ...
I believe the normal version functions used on dlls works on font files (Maybe thats just for .fon?)