diff options
| author | Ari Roponen | 2018-12-14 09:22:09 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2018-12-14 10:53:18 +0200 |
| commit | 2f72162243b293af9c204646ef6e777dc8222b52 (patch) | |
| tree | bae0029e0a0af76c30a6a5dbab5a11eb98cd465e /src | |
| parent | 0cf5d630009dfa215f488facc98c9f948eabaf2a (diff) | |
| download | emacs-2f72162243b293af9c204646ef6e777dc8222b52.tar.gz emacs-2f72162243b293af9c204646ef6e777dc8222b52.zip | |
Fix crash in the Cairo build
* src/ftcrfont.c (struct ftcrfont_info) [HAVE_HARFBUZZ]: New
member 'hb_font'. (Bug#33739)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ftcrfont.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ftcrfont.c b/src/ftcrfont.c index e2f84d44fc2..6d74d937a73 100644 --- a/src/ftcrfont.c +++ b/src/ftcrfont.c | |||
| @@ -41,6 +41,9 @@ struct ftcrfont_info | |||
| 41 | bool maybe_otf; /* Flag to tell if this may be OTF or not. */ | 41 | bool maybe_otf; /* Flag to tell if this may be OTF or not. */ |
| 42 | OTF *otf; | 42 | OTF *otf; |
| 43 | #endif /* HAVE_LIBOTF */ | 43 | #endif /* HAVE_LIBOTF */ |
| 44 | #ifdef HAVE_HARFBUZZ | ||
| 45 | hb_font_t *hb_font; | ||
| 46 | #endif /* HAVE_HARFBUZZ */ | ||
| 44 | FT_Size ft_size; | 47 | FT_Size ft_size; |
| 45 | int index; | 48 | int index; |
| 46 | FT_Matrix matrix; | 49 | FT_Matrix matrix; |