Design and Layout:Visual Design:Text and Fonts
From KDE-HIG_Wiki
Text and Fonts
Text in the user interface functions as a type of embedded help. Make sure it is understandable for your users, short and descriptive.
Capitalization
There are two types of capitalization:
Book Title Capitalization:
Capitalize all words in the element except for:
- Prepositions having less than five letters, (e.g. "for", "in", "with" or "to", but "From" or "Under")
- Conjunctions ("and", "or" and "but")
- Articles ("the", "a" and "an")
Sentence Style Capitalization:
Capitalize the first letter of the first word. The rest of the words should be all lowercase, apart from proper nouns.
Guidelines
Use book title capitalization in the following cases:
- Window and dialog box titles
- Group box / group line labels
- button labels
- Tab labels
- Listview column headers
- Menu titles / menu items
- Derivatives of KCommand
- Combobox items
- Listbox items
- Tree list items
- Other heading/title text
Use sentence style capitalization in the following cases:
- Edit box labels
- List box labels
- Combo box labels
- Spin box labels
- Check box labels
- Option button labels
- Spin box labels
- Slider labels
- Pop-up hint text
- Other non heading/title text
Alignment
Guidelines
Font Settings
Guidelines
- Don't hard-code font settings. Font settings in applications must be relative to the global settings.
- Normal text settings in your application should default to the current system font settings. Special text like headlines may default an increased size or to additional font attributed (e.g. bold).
- Use the KDE standard widgets to modify font settings in your application.
Accessibility Notes
Partially sighted users who need big font sizes want all applications to take the global setting into account. This is not the case if the application default specifies an absolute font size.
Implementation Suggestions
Todo: Link to KFontDialog and KFontRequester
