Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

Standard Fonts

Qt Extended provides a number of standard fonts together with language-specific fonts. The fonts and the available formats and font sizes are described in the sections below.

Primary Fonts

The primary fonts are:

helveticafrom the X11 helv*.bdf; used for non-CJK languages
wenquanyihttp://wqy.sourceforge.net; used for Chinese)
unifonthttp://czyborra.com/unifont/; used for other languages

Format and Size

The following table displays the formats and pixel sizes available for each font:

FontFont Size
helvetica8, 10, 12, 14, 18, 24
helveticabold 8, 10, 12, 14, 18, 24
helveticabold italic 8, 10, 12, 14, 18, 24
fixed7, 12
wenquanyi12, 13, 15, 16
wenquanyibold 12, 13, 15, 16

Language-specific Fonts

Most of the fonts only support a small subset of unicode characters. For instance it is not possible to use helvetica to display Chinese characters. To overcome this problem Qt Extended allows the specification of default fonts for each language. The following table shows a small subset of languages and their associated font:

Arabicunifont 16
Chinesewenquanyi 12, 13, 16
Japanesejapanese 23
Koreanunifont 16

To see how to customized/define what font to use for a given language and size of font see: Internationalization. If no suitable font is at hand it may be possible to use the unifont font as it provides the most complete set of characters.

See also Setting Display Size.

Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3