diff options
| author | Glenn Morris | 2018-01-26 19:53:20 -0800 |
|---|---|---|
| committer | Glenn Morris | 2018-01-26 19:53:20 -0800 |
| commit | 2ce56c51a83f6658cc6c79e4cc3716cfddbb03ff (patch) | |
| tree | df32ce46faa922198fb9f065c85d8e69f3e99506 /src | |
| parent | e3b46f0b9ea75d80d6cdd85e9f801304b285ee6d (diff) | |
| download | emacs-2ce56c51a83f6658cc6c79e4cc3716cfddbb03ff.tar.gz emacs-2ce56c51a83f6658cc6c79e4cc3716cfddbb03ff.zip | |
Workaround a libotf crash with Kannada font (bug#30193)
* configure.ac (HAVE_OTF_KANNADA_BUG): New define.
* src/xfaces.c (syms_of_xfaces) <Vface_ignored_fonts>:
Add problematic Kannada font if necessary.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfaces.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 34797994c3c..77afee4587d 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -6526,7 +6526,12 @@ other font of the appropriate family and registry is available. */); | |||
| 6526 | doc: /* List of ignored fonts. | 6526 | doc: /* List of ignored fonts. |
| 6527 | Each element is a regular expression that matches names of fonts to | 6527 | Each element is a regular expression that matches names of fonts to |
| 6528 | ignore. */); | 6528 | ignore. */); |
| 6529 | #ifdef HAVE_OTF_KANNADA_BUG | ||
| 6530 | /* https://debbugs.gnu.org/30193 */ | ||
| 6531 | Vface_ignored_fonts = list1 (build_string ("Noto Serif Kannada")); | ||
| 6532 | #else | ||
| 6529 | Vface_ignored_fonts = Qnil; | 6533 | Vface_ignored_fonts = Qnil; |
| 6534 | #endif | ||
| 6530 | 6535 | ||
| 6531 | DEFVAR_LISP ("face-remapping-alist", Vface_remapping_alist, | 6536 | DEFVAR_LISP ("face-remapping-alist", Vface_remapping_alist, |
| 6532 | doc: /* Alist of face remappings. | 6537 | doc: /* Alist of face remappings. |