FontInfo plug-in
From NSIS Wiki
Jump to navigationJump to search
Author: Anders (talk, contrib) |
Extract basic string information from TTF fonts. This is useful if you want to register a font for usage by other applications.
Plug-in information
- Version: 1.0
- Type: Runtime plug-in
- Minimum OS: Win95
- Minimum NSIS version: 2.0
- License: GPL v3
- Download: FontInfo.zip (12 KB)
Examples
Get font name
Section FontInfo::GetFontName "$Fonts\times.ttf" DetailPrint $0 SectionEnd
Enumerate name strings
Function EnumNameStringsCallback DetailPrint "$0 $1 $2" ; StrCpy $0 "" ; Stop enum FunctionEnd Section Enum GetFunctionAddress $0 EnumNameStringsCallback FontInfo::EnumNameStrings "$Fonts\Arial.ttf" $0 SectionEnd
History
1.0 - 20221016 - Anders
- Initial release