Fonts and Font Handling

<< Click to Display Table of Contents >>

Navigation:  Programming Techniques >

Fonts and Font Handling

Previous pageReturn to chapter overviewNext page

You can instruct VPE to print text using a specific font and character set. Especially when creating PDF documents, it is important that you have some basic knowledge about the font handling mechanisms provided by VPE.

 

The font manager of VPE supports the following character sets:

Constant Name

Comment

VCHARSET_DEFAULT

Windows: Chooses the VCHARSET_WIN_ character set that fits to the localization settings of the current user.
All other platforms: sets the charset to ISO_ANSI

VCHARSET_SYMBOL

Required for using Symbol Fonts, like WingDings

VCHARSET_MAC_ROMAN

Macintosh Roman

 

Character sets compatible to the character sets of the Windows operating system:

VCHARSET_WIN_ANSI

Western character set: Afrikaans, Basque, Catalan, Danish, Dutch, English, Esperanto, Faroese, Finnish, French, Frisian, Galician, German, Icelandic, Indonesian, Interlingua, Irish, Italian, Latin, Malay, Maltese, Norwegian, Pilipino, Portuguese, Spanish, Swahili, Swedish, Welsh

VCHARSET_WIN_HEBREW

Hebrew

VCHARSET_WIN_ARABIC

Arabic

VCHARSET_WIN_GREEK

Greek

VCHARSET_WIN_TURKISH

Turkish

VCHARSET_WIN_VIETNAMESE

Vietnamese

VCHARSET_WIN_THAI

Thai

VCHARSET_WIN_EAST_EUROPE

Albanian, Belarusian, Croatian, Czech, Hungarian, Polish, Romanian, Serbian, Slovak, Slovenian

VCHARSET_WIN_CYRILLIC

Bulgarian, Russian, Serbian and Ukrainian (Cyrillic)

VCHARSET_WIN_BALTIC

Estonian, Latvian and Lithuanian

 

Character sets compatible to the ISO character sets (taken from unicode.org):

VCHARSET_ISO_LATIN_1

Latin-1, Western character set (ISO-8859-1)

VCHARSET_ISO_LATIN_2

Latin-2, East European (ISO-8859-2)

VCHARSET_ISO_LATIN_3

Latin-3, South European (ISO-8859-3)

VCHARSET_ISO_LATIN_4

Latin-4, Baltic (ISO-8859-4)

VCHARSET_ISO_CYRILLIC

Cyrillic (ISO-8859-5)

VCHARSET_ISO_ARABIC

Arabic (ISO-8859-6)

VCHARSET_ISO_GREEK

Greek (ISO-8859-7)

VCHARSET_ISO_HEBREW

Hebrew (ISO-8859-8)

VCHARSET_ISO_LATIN_5

Latin-5, Turkish (ISO-8859-9)

VCHARSET_ISO_LATIN_6

Latin-6, Nordic (ISO-8859-10)

VCHARSET_ISO_THAI

Thai (ISO-8859-11)

VCHARSET_ISO_LATIN_7

Latin-7, Baltic (ISO-8859-13)

VCHARSET_ISO_LATIN_8

Latin-8, Celtic (ISO-8859-14)

VCHARSET_ISO_LATIN_9

Latin-9, Western (ISO-8859-15)

 

NOTE:When using symbol fonts, like for example "WingDings", you must set the property CharSet = SYMBOL_CHARSET first!

There are two possible types of fonts that can be used, which are explained in the next chapters.