/[emacs]/emacs/lispref/display.texi
ViewVC logotype

Diff of /emacs/lispref/display.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.103 by teirllm, Thu Oct 23 20:41:28 2003 UTC revision 1.104 by handa, Sat Oct 25 02:41:40 2003 UTC
# Line 2459  Then, the font specifications for all bu Line 2459  Then, the font specifications for all bu
2459  Chinese GB2312 characters has a wild card @samp{*} in the @var{family}  Chinese GB2312 characters has a wild card @samp{*} in the @var{family}
2460  field.  field.
2461    
2462    @defun set-fontset-font name character fontname &optional frame
2463    This function modifies the existing fontset @var{name} to
2464    use the font name @var{fontname} for the character @var{character}.
2465    
2466    If @var{name} is nil, this function modifies the default
2467    fontset of which short name is "fontset-default".
2468    
2469    @var{character} may be a cons; @samp{(@var{from}
2470    . @var{to})}, where @var{from} and @var{to} are non-generic
2471    characters.  In that case, use @var{fontname} for all
2472    characters in the range @var{from} and @var{to} (inclusive).
2473    
2474    @var{character} may be a charset.  In that case, use
2475    @var{fontname} for all character in the charsets.
2476    
2477    @var{fontname} may be a cons; @samp{(@var{family}
2478    . @var{registry})}, where @var{family} is a family name of a
2479    font (possibly including a foundry name at the head),
2480    @var{registry} is a registry name of a font (possibly
2481    including an encoding name at the tail).
2482    
2483    For instance, this changes the default fontset to use a font
2484    of which registry name is "JISX0208.1983" for all characters
2485    belonging to the charset `japanese-jisx0208'.
2486    
2487    @example
2488    (set-fontset-font nil 'japanese-jisx0208 '(nil . "JISX0208.1983"))
2489    @end example
2490    
2491    @end defun
2492    
2493  @defun char-displayable-p char  @defun char-displayable-p char
2494  This function returns @code{t} if Emacs ought to be able to display  This function returns @code{t} if Emacs ought to be able to display
2495  @var{char}.  More precisely, if the selected frame's fontset has a  @var{char}.  More precisely, if the selected frame's fontset has a

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.104

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26