Next: Font Lock, Previous: Standard Faces, Up: Display
The following commands change the default face within a buffer.
To increase the height of the default face in the current buffer,
type C-x C-+ or C-x C-=. To decrease it, type C-x
C--. To restore the default (global) face height, type C-x
C-0. These keys are all bound to the same command,
text-scale-adjust, which looks at the last key typed to
determine which action to take.
The final key of these commands may be repeated without the leading
C-x. For instance, C-x C-= C-= C-= increases the face
height by three steps. Each step scales the height of the default
face by the value of the variable text-scale-mode-step. As a
special case, an argument of 0 removes any scaling currently active.
The commands text-scale-increase and
text-scale-decrease increase or decrease the height of the
default face, just like C-x C-+ and C-x C-- respectively.
You may find it convenient to bind to these commands, rather than
text-scale-adjust.
The above commands automatically enable or disable the minor mode
text-scale-mode, depending on whether the current font scaling
is other than 1 or not.
To temporarily change the face in the current buffer to a variable-pitch (“proportional”) font, use the command M-x variable-pitch-mode to enable or disable the Variable Pitch minor mode.