Mercurial > emacs
comparison lispref/display.texi @ 52940:cac3cb68235c
(Fontsets): Fix texinfo usage.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Sun, 26 Oct 2003 23:27:50 +0000 |
parents | eb3f1895daff |
children | 1a5c50faf357 |
comparison
equal
deleted
inserted
replaced
52939:1612d8a28e74 | 52940:cac3cb68235c |
---|---|
2461 | 2461 |
2462 @defun set-fontset-font name character fontname &optional frame | 2462 @defun set-fontset-font name character fontname &optional frame |
2463 This function modifies the existing fontset @var{name} to | 2463 This function modifies the existing fontset @var{name} to |
2464 use the font name @var{fontname} for the character @var{character}. | 2464 use the font name @var{fontname} for the character @var{character}. |
2465 | 2465 |
2466 If @var{name} is nil, this function modifies the default | 2466 If @var{name} is @code{nil}, this function modifies the default |
2467 fontset of which short name is "fontset-default". | 2467 fontset of which short name is @samp{fontset-default}. |
2468 | 2468 |
2469 @var{character} may be a cons; @samp{(@var{from} | 2469 @var{character} may be a cons; @code{(@var{from} . @var{to})}, where |
2470 . @var{to})}, where @var{from} and @var{to} are non-generic | 2470 @var{from} and @var{to} are non-generic characters. In that case, use |
2471 characters. In that case, use @var{fontname} for all | 2471 @var{fontname} for all characters in the range @var{from} and @var{to} |
2472 characters in the range @var{from} and @var{to} (inclusive). | 2472 (inclusive). |
2473 | 2473 |
2474 @var{character} may be a charset. In that case, use | 2474 @var{character} may be a charset. In that case, use |
2475 @var{fontname} for all character in the charsets. | 2475 @var{fontname} for all character in the charsets. |
2476 | 2476 |
2477 @var{fontname} may be a cons; @samp{(@var{family} | 2477 @var{fontname} may be a cons; @code{(@var{family} . @var{registry})}, |
2478 . @var{registry})}, where @var{family} is a family name of a | 2478 where @var{family} is a family name of a font (possibly including a |
2479 font (possibly including a foundry name at the head), | 2479 foundry name at the head), @var{registry} is a registry name of a font |
2480 @var{registry} is a registry name of a font (possibly | 2480 (possibly including an encoding name at the tail). |
2481 including an encoding name at the tail). | 2481 |
2482 | 2482 For instance, this changes the default fontset to use a font of which |
2483 For instance, this changes the default fontset to use a font | 2483 registry name is @samp{JISX0208.1983} for all characters belonging to |
2484 of which registry name is "JISX0208.1983" for all characters | 2484 the charset @code{japanese-jisx0208}. |
2485 belonging to the charset `japanese-jisx0208'. | |
2486 | 2485 |
2487 @example | 2486 @example |
2488 (set-fontset-font nil 'japanese-jisx0208 '(nil . "JISX0208.1983")) | 2487 (set-fontset-font nil 'japanese-jisx0208 '(nil . "JISX0208.1983")) |
2489 @end example | 2488 @end example |
2490 | 2489 |