Debenu Quick PDF logo

GetInstalledFontsByCodePage

Fonts

Version history

This function was introduced in Quick PDF Library version 7.21.

Description

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 code page. To show all fonts, set CodePage to 0 (corresponding to DEFAULT_CHARSET).

Syntax

Delphi

function TDebenuPDFLibrary1511.GetInstalledFontsByCodePage(CodePage, 
  Options: Integer): WideString;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::GetInstalledFontsByCodePage(
  CodePage As Long, Options As Long) As String

DLL

wchar_t * DPLGetInstalledFontsByCodePage(int InstanceID, int CodePage, int Options)

Parameters

CodePage 0 = DEFAULT_CHARSET
437 = OEM_CHARSET
850 = OEM_CHARSET
852 = OEM_CHARSET
874 = THAI_CHARSET
932 = SHIFTJIS_CHARSET
936 = GB2312_CHARSET
949 = HANGEUL_CHARSET
950 = CHINESEBIG5_CHARSET
1250 = EASTEUROPE_CHARSET
1251 = RUSSIAN_CHARSET
1252 = ANSI_CHARSET
1253 = GREEK_CHARSET
1254 = TURKISH_CHARSET
1255 = HEBREW_CHARSET
1256 = ARABIC_CHARSET
1257 = BALTIC_CHARSET
1258 = VIETNAMESE_CHARSET
1361 = JOHAB_CHARSET
Options 0 = Font names enclosed in double quotes with comma delimiters
1 = Font names in plain text with CRLF delimiters

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport