Offsets must be given as pairs; in other words, in order to specify either xoff or yoff both must be
present. Windows can be placed in the four corners of the screen using the following specifications:
• +0+0 (the upper left-hand corner)
• -0+0 (the upper right-hand corner)
• -0-0 (the lower right-hand corner)
• +0-0 (the lower left-hand corner)
In the following examples, a terminal emulator will be placed in roughly the center of the screen and a
load average monitor, mailbox, and clock will be placed in the upper right hand corner:
xterm -fn 6x10 -geometry 80x24+30+200 &
xclock -geometry 48x48-0+0 &
xload -geometry 48x48-96+0 &
xbiff -geometry 48x48-48+0 &
Window Managers
The layout of windows on the screen is controlled by special programs called window managers.
Although many window managers will honor geometry specifications as given, others may choose to
ignore them (requiring the user to explicitly draw the window's region on the screen with the pointer, for
example).
Since window managers are regular (albeit complex) client programs, a variety of different user
interfaces can be built. The Hewlett-Packard distribution comes with window managers named mwm
and dtwm, which support overlapping windows, popup menus, point-and-click or click-to-type input
models, title bars, nice icons (and an icon manager for those who don't like separate icon windows).
See the user-contributed software in the MIT distribution for other popular window managers.
Font Names
Collections of characters for displaying text and symbols in X are known as fonts. A font typically
contains images that share a common appearance and look nice together (for example, a single size,
boldness, slantedness, and character set). Similarly, collections of fonts that are based on a common type
face the variations are usually called roman, bold, italic (or oblique), and bold italic (or bold oblique) are
called families.
Fonts come in various sizes. The X server supports scalable fonts, meaning it is possible to create a font
of arbitrary size from a single source for the font. The server supports scaling from outline fonts and
bitmap fonts. Scaling from outline fonts usually produces significantly better results on large point sizes
than scaling from bitmap fonts.
An X server can obtain fonts from individual files stored in directories in the file system, or from one or
more font servers, or from a mixtures of directories and font servers. The list of places the server looks
when trying to find a font is controlled by its font path. Although most installations will choose to have
Page 131
Graphics Administration Guide for HP-UX 10.20