DynaPDF Manual - Page 685

Previous Page 684   Index   Next Page 686

Function Reference
Page 685 of 787
cpSymbol,
// Symbol
cp437,
// DOS USA
cp737,
// DOS Greek
cp775,
// DOS Baltic Rim
cp850,
// DOS Multilingual
cp852,
// DOS Slavic
cp855,
// DOS Cyrillic
cp857,
// DOS Turkish
cp860,
// DOS Portuguese
cp861,
// DOS Icelandic
cp862,
// DOS Hebrew
cp863,
// DOS French (Canada)
cp864,
// DOS Arabic
cp865,
// DOS Nordic
cp866,
// DOS Russian
cp869,
// DOS Modern Greek
cp874,
// DOS Thai
cpUnicode,
// Unicode without Uniocde algorithms
cpCJK_Big5_Uni,
// Big5 plus HKSCS extension
cpCJK_EUC_JP_Uni,
// EUC-JP
cpCJK_EUC_KR_Uni,
// EUC-KR
cpCJK_EUC_TW_Uni,
// CNS-11643-1992 (Planes 1-15)
cpCJK_GBK_Uni,
// MS code page 936 (GB2312, EUC-CN plus GBK)
cpCJK_GB12345_Uni, // GB-12345-1990 (Trad. Chinese form of GB-2312)
cpCJK_HZ_Uni,
// Mixed ASCII / GB-2312 encoding
cpCJK_2022_CN_Uni, // ISO-2022-CN-EXT (GB-2312 plus ISO-11643)
cpCJK_2022_JP_Uni, // ISO-2022-JP
cpCJK_2022_KR_Uni, // ISO-2022-KR
cpCJK_646_CN_Uni,
// ISO-646-CN (GB-1988-80)
cpCJK_646_JP_Uni,
// ISO-646-JP (JIS_C6220-1969-RO)
cpCJK_IR_165_Uni,
// ISO-IR-165 (extended version of GB-2312)
cpCJK_932_Uni,
// Microsoft extended version of SHIFT_JIS
cpCJK_949_Uni,
// EUC-KR extended with UHC (Unified Hangul Codes)
cpCJK_950_Uni,
// Microsoft extended version of Big5
cpCJK_JOHAB_Uni,
// JOHAB
cpShiftJIS,
// Native CJK character set requires a CJK font
cpBig5,
// Native CJK character set requires a CJK font
cpGB2312,
// Native CJK character set requires a CJK font
cpWansung,
// Native CJK character set requires a CJK font
cpJohab
// Native CJK character set requires a CJK font
cpMacRoman,
// Mac Roman
cpAdobeStd,
// Special encoding for Type1 fonts; should not used.
cpInternal,
// Internal -> not usable
cpGlyphIndexes,
// TrueType and OpenType fonts only
cpPDFDocEnc,
// Internal -> not usable
cpDingbats
// Internal -> not usable
}TCodepage;
The function loads a font that can be used for text output and interactive form fields. The parameter
Name must be either the Family, Full, or PostScript Name depending on the current font selection
mode (see SetFontSelMode() for further information).
It is also possible to set the font name to NULL to deactivate the active font. This can be useful when
creating form fields. It means, use the default font of the global AcroForm object.
Fonts are looked up in the search directories which can be set with AddFontSearchPath(). On
Windows and Mac OS X operating systems DynaPDF adds automatically the default font directories
of the system to the list of font search paths. See SetUseSystemFonts() for further information.
Font enumeration
The available system fonts can be enumerated with GetSysFontInfo().
 

Previous topic: SetFont

Next topic: Font Search Order, Font names, Family name, Full name

Start Chat