diff options
| -rw-r--r-- | src/fontset.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/fontset.c b/src/fontset.c index 05f796bf735..082a148ac8e 100644 --- a/src/fontset.c +++ b/src/fontset.c | |||
| @@ -34,6 +34,8 @@ Lisp_Object Vglobal_fontset_alist; | |||
| 34 | Lisp_Object Vfont_encoding_alist; | 34 | Lisp_Object Vfont_encoding_alist; |
| 35 | Lisp_Object Vuse_default_ascent; | 35 | Lisp_Object Vuse_default_ascent; |
| 36 | Lisp_Object Valternative_fontname_alist; | 36 | Lisp_Object Valternative_fontname_alist; |
| 37 | Lisp_Object Vhighlight_wrong_size_font; | ||
| 38 | Lisp_Object Vclip_large_size_font; | ||
| 37 | 39 | ||
| 38 | /* We had better have our own strcasecmp function because some system | 40 | /* We had better have our own strcasecmp function because some system |
| 39 | doesn't have it. */ | 41 | doesn't have it. */ |
| @@ -833,6 +835,17 @@ When no font can be opened by a fontname, the corresponding | |||
| 833 | alternative fontnames are tried."); | 835 | alternative fontnames are tried."); |
| 834 | Valternative_fontname_alist = Qnil; | 836 | Valternative_fontname_alist = Qnil; |
| 835 | 837 | ||
| 838 | DEFVAR_LISP ("highlight-wrong-size-font", &Vhighlight_wrong_size_font, | ||
| 839 | "*Non-nil means highlight characters shown in wrong size fonts somehow.\n\ | ||
| 840 | The way to highlight them depends on window system on which Emacs runs.\n\ | ||
| 841 | On X window, rectangle is shown around each such characters."); | ||
| 842 | Vhighlight_wrong_size_font = Qt; | ||
| 843 | |||
| 844 | DEFVAR_LISP ("clip-large-size-font", &Vclip_large_size_font, | ||
| 845 | "*Non-nil means clip glyphs shown in large size fonts.\n\ | ||
| 846 | The hight of clipping area is the same as the hight of ASCII characters."); | ||
| 847 | Vclip_large_size_font = Qt; | ||
| 848 | |||
| 836 | defsubr (&Squery_fontset); | 849 | defsubr (&Squery_fontset); |
| 837 | defsubr (&Snew_fontset); | 850 | defsubr (&Snew_fontset); |
| 838 | defsubr (&Sset_fontset_font); | 851 | defsubr (&Sset_fontset_font); |