diff options
| author | Kenichi Handa | 1997-03-19 16:33:06 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-03-19 16:33:06 +0000 |
| commit | 8c83e4f9fb79230ce3ec0d9cd49d3edc489c1647 (patch) | |
| tree | 6105edaf3cbb9b426fcc9f23596f9d998c712da5 | |
| parent | bdf3d7e8b5e516bf5518dbeacd51dab3b32400ab (diff) | |
| download | emacs-8c83e4f9fb79230ce3ec0d9cd49d3edc489c1647.tar.gz emacs-8c83e4f9fb79230ce3ec0d9cd49d3edc489c1647.zip | |
(Valternative_fontname_alist): New variable.
(syms_of_fontset): Declare Lisp variable alternative-fontname-alist.
| -rw-r--r-- | src/fontset.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/fontset.c b/src/fontset.c index e136c09b763..05f796bf735 100644 --- a/src/fontset.c +++ b/src/fontset.c | |||
| @@ -31,9 +31,9 @@ Boston, MA 02111-1307, USA. */ | |||
| 31 | #include "frame.h" | 31 | #include "frame.h" |
| 32 | 32 | ||
| 33 | Lisp_Object Vglobal_fontset_alist; | 33 | Lisp_Object Vglobal_fontset_alist; |
| 34 | |||
| 35 | Lisp_Object Vfont_encoding_alist; | 34 | Lisp_Object Vfont_encoding_alist; |
| 36 | Lisp_Object Vuse_default_ascent; | 35 | Lisp_Object Vuse_default_ascent; |
| 36 | Lisp_Object Valternative_fontname_alist; | ||
| 37 | 37 | ||
| 38 | /* We had better have our own strcasecmp function because some system | 38 | /* We had better have our own strcasecmp function because some system |
| 39 | doesn't have it. */ | 39 | doesn't have it. */ |
| @@ -827,6 +827,12 @@ If an entry for a character is non-nil, the ascent value of the glyph\n\ | |||
| 827 | is assumed to be what specified by _MULE_DEFAULT_ASCENT property of a font."); | 827 | is assumed to be what specified by _MULE_DEFAULT_ASCENT property of a font."); |
| 828 | Vuse_default_ascent = Qnil; | 828 | Vuse_default_ascent = Qnil; |
| 829 | 829 | ||
| 830 | DEFVAR_LISP ("alternative-fontname-alist", &Valternative_fontname_alist, | ||
| 831 | "Alist of fontname vs list of the alternative fontnames. | ||
| 832 | When no font can be opened by a fontname, the corresponding | ||
| 833 | alternative fontnames are tried."); | ||
| 834 | Valternative_fontname_alist = Qnil; | ||
| 835 | |||
| 830 | defsubr (&Squery_fontset); | 836 | defsubr (&Squery_fontset); |
| 831 | defsubr (&Snew_fontset); | 837 | defsubr (&Snew_fontset); |
| 832 | defsubr (&Sset_fontset_font); | 838 | defsubr (&Sset_fontset_font); |