GetInstalledFontsByCharsetA
Fonts
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetInstalledFontsByCharset and string arguments are interpreted using the current SetAnsiMode code page
Returns a list of the names of fonts that are installed. These font names can be used with the
AddTrueTypeFont and AddSubsettedFont functions.
The list is filtered by the specified character set. To show all fonts, set CharsetIndex to 2 (corresponding to DEFAULT_CHARSET).
Syntax
Delphi
Function DLGetInstalledFontsByCharsetA(InstanceID, CharsetIndex, Options: Integer): PAnsiChar;
DLL
const char * DLGetInstalledFontsByCharsetA(int InstanceID, int CharsetIndex, int Options);
Parameters
| CharsetIndex | 1 = ANSI 2 = Default 3 = Symbol 4 = Shift JIS 5 = Hangeul 6 = GB2312 7 = Chinese Big 5 8 = OEM 9 = Johab 10 = Hebrew 11 = Arabic 12 = Greek 13 = Turkish 14 = Vietnamese 15 = Thai 16 = East Europe 17 = Russian 18 = Mac 19 = Baltic 0 = Font names enclosed in double quotes with comma delimiters 1 = Font names in plain text with CRLF delimiters |
|---|---|
| Options |