mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-13 09:32:47 +00:00
* doc/emacs/frames.texi (Fonts): Tweak line and page breaks.
Change cross-reference. Use example rather than smallexample (these examples are not wide, smallexample saves little vertical space, but makes things harder to read).
This commit is contained in:
parent
0244c17ae6
commit
fe76231124
@ -1,5 +1,8 @@
|
||||
2012-05-03 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* frames.texi (Fonts): Tweak line and page breaks.
|
||||
Use example rather than smallexample. Change cross-reference.
|
||||
|
||||
* buffers.texi (Buffers, Kill Buffer, Several Buffers)
|
||||
(Indirect Buffers): Tweak line- and page-breaks.
|
||||
|
||||
|
@ -492,13 +492,13 @@ this for future sessions, click on @samp{Save Options} in the
|
||||
@samp{Options} menu.
|
||||
|
||||
@item
|
||||
Add a line to your init file (@pxref{Init File}), modifying the
|
||||
variable @code{default-frame-alist} to specify the @code{font}
|
||||
parameter (@pxref{Creating Frames}), like this:
|
||||
Add a line to your init file, modifying the variable
|
||||
@code{default-frame-alist} to specify the @code{font} parameter
|
||||
(@pxref{Frame Parameters}), like this:
|
||||
|
||||
@smallexample
|
||||
@example
|
||||
(add-to-list 'default-frame-alist '(font . "DejaVu Sans Mono-10"))
|
||||
@end smallexample
|
||||
@end example
|
||||
|
||||
@cindex X defaults file
|
||||
@cindex X resources file
|
||||
@ -506,14 +506,14 @@ parameter (@pxref{Creating Frames}), like this:
|
||||
Add an @samp{emacs.font} X resource setting to your X resource file,
|
||||
like this:
|
||||
|
||||
@smallexample
|
||||
@example
|
||||
emacs.font: DejaVu Sans Mono-12
|
||||
@end smallexample
|
||||
@end example
|
||||
|
||||
@noindent
|
||||
You must restart X, or use the @command{xrdb} command, for the X
|
||||
resources file to take effect. @xref{Resources}. When specifying a
|
||||
font in your X resources file, you should not quote it.
|
||||
resources file to take effect. @xref{Resources}. Do not quote
|
||||
font names in X resource files.
|
||||
|
||||
@item
|
||||
If you are running Emacs on the GNOME desktop, you can tell Emacs to
|
||||
@ -535,9 +535,9 @@ names the font that it's rendered in.
|
||||
first is to use a @dfn{Fontconfig pattern}. Fontconfig patterns have
|
||||
the following form:
|
||||
|
||||
@smallexample
|
||||
@example
|
||||
@var{fontname}[-@var{fontsize}][:@var{name1}=@var{values1}][:@var{name2}=@var{values2}]...
|
||||
@end smallexample
|
||||
@end example
|
||||
|
||||
@noindent
|
||||
Within this format, any of the elements in braces may be omitted.
|
||||
@ -577,13 +577,13 @@ One of @samp{monospace}, @samp{proportional}, @samp{dual-width}, or
|
||||
@noindent
|
||||
Here are some examples of Fontconfig patterns:
|
||||
|
||||
@smallexample
|
||||
@example
|
||||
Monospace
|
||||
Monospace-12
|
||||
Monospace-12:bold
|
||||
DejaVu Sans Mono:bold:italic
|
||||
Monospace-12:weight=bold:slant=italic
|
||||
@end smallexample
|
||||
@end example
|
||||
|
||||
For a more detailed description of Fontconfig patterns, see the
|
||||
Fontconfig manual, which is distributed with Fontconfig and available
|
||||
@ -593,9 +593,9 @@ online at @url{http://fontconfig.org/fontconfig-user.html}.
|
||||
The second way to specify a font is to use a @dfn{GTK font pattern}.
|
||||
These have the syntax
|
||||
|
||||
@smallexample
|
||||
@example
|
||||
@var{fontname} [@var{properties}] [@var{fontsize}]
|
||||
@end smallexample
|
||||
@end example
|
||||
|
||||
@noindent
|
||||
where @var{fontname} is the family name, @var{properties} is a list of
|
||||
@ -619,10 +619,10 @@ omitted, a default width is used.
|
||||
@noindent
|
||||
Here are some examples of GTK font patterns:
|
||||
|
||||
@smallexample
|
||||
@example
|
||||
Monospace 12
|
||||
Monospace Bold Italic 12
|
||||
@end smallexample
|
||||
@end example
|
||||
|
||||
@cindex XLFD
|
||||
@cindex X Logical Font Description
|
||||
@ -631,9 +631,9 @@ Logical Font Description}). This is the traditional method for
|
||||
specifying fonts under X. Each XLFD consists of fourteen words or
|
||||
numbers, separated by dashes, like this:
|
||||
|
||||
@smallexample
|
||||
@example
|
||||
-misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1
|
||||
@end smallexample
|
||||
@end example
|
||||
|
||||
@noindent
|
||||
A wildcard character (@samp{*}) in an XLFD matches any sequence of
|
||||
@ -644,10 +644,10 @@ results, supply all 14 dashes and use wildcards only within a field.
|
||||
Case is insignificant in an XLFD. The syntax for an XLFD is as
|
||||
follows:
|
||||
|
||||
@smallexample
|
||||
@example
|
||||
-@var{maker}-@var{family}-@var{weight}-@var{slant}-@var{widthtype}-@var{style}@dots{}
|
||||
@dots{}-@var{pixels}-@var{height}-@var{horiz}-@var{vert}-@var{spacing}-@var{width}-@var{registry}-@var{encoding}
|
||||
@end smallexample
|
||||
@end example
|
||||
|
||||
@noindent
|
||||
The entries have the following meanings:
|
||||
@ -706,9 +706,9 @@ nickname''. Certain fonts have shorter nicknames, which you can use
|
||||
instead of a normal font specification. For instance, @samp{6x13} is
|
||||
equivalent to
|
||||
|
||||
@smallexample
|
||||
@example
|
||||
-misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1
|
||||
@end smallexample
|
||||
@end example
|
||||
|
||||
@cindex client-side fonts
|
||||
@cindex server-side fonts
|
||||
|
Loading…
Reference in New Issue
Block a user