Prev | Current Page 238 | Next

Chris Tyler

"X Power Tools"

4
154 Chapter 11: Pango, Xft, Fontconfig, and Render: Fonts the New Way
Figure 11-3. Konqueror system font display
Figure 11-4. KFontView window
11.5
11.5 Fontconfig Font Names 155
To add fonts, simply drag-and-drop them into the font window. If you drop them
into the system font window, you will be prompted to enter the root password.
To delete a font, treat it like a file: drag-and-drop it onto the trashcan or right-click
and select Delete. As with installation, you will be prompted for the root password if
the font is from the system font window.
You can also install and remove fonts through the KDE Control Panel.
11.5 Fontconfig Font Names
Fontconfig uses a font-naming scheme which is more user friendly than XLFD font
names (Section 11.4). Font names consist of a font family; optionally, you can have a
font size separated from the font family by a dash; and optionally, you can have a list
of additional name and value pairs specifying additional properties, linked by equal
signs and separated by colons.
For matching purposes, you can specify multiple values for the font name or size,
separated by commas; the first matching value will be selected.
Table 11-1 lists some font names expressed using this notation.


Pages:
226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250