diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ftcrfont.c | 2 | ||||
| -rw-r--r-- | src/ftxfont.c | 2 | ||||
| -rw-r--r-- | src/xftfont.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/ftcrfont.c b/src/ftcrfont.c index 6d74d937a73..ae5b0a92eee 100644 --- a/src/ftcrfont.c +++ b/src/ftcrfont.c | |||
| @@ -302,7 +302,7 @@ struct font_driver const ftcrfont_driver = | |||
| 302 | #ifdef HAVE_LIBOTF | 302 | #ifdef HAVE_LIBOTF |
| 303 | .otf_capability = ftfont_otf_capability, | 303 | .otf_capability = ftfont_otf_capability, |
| 304 | #endif | 304 | #endif |
| 305 | #if defined HAVE_M17N_FLT || defined HAVE_HARFBUZZ | 305 | #if defined HAVE_LIBOTF && (defined HAVE_M17N_FLT || defined HAVE_HARFBUZZ) |
| 306 | .shape = ftfont_shape, | 306 | .shape = ftfont_shape, |
| 307 | #endif | 307 | #endif |
| 308 | #ifdef HAVE_OTF_GET_VARIATION_GLYPHS | 308 | #ifdef HAVE_OTF_GET_VARIATION_GLYPHS |
diff --git a/src/ftxfont.c b/src/ftxfont.c index 4d4ff6ee0c5..a30b07636e6 100644 --- a/src/ftxfont.c +++ b/src/ftxfont.c | |||
| @@ -359,7 +359,7 @@ struct font_driver const ftxfont_driver = | |||
| 359 | .otf_capability = ftfont_otf_capability, | 359 | .otf_capability = ftfont_otf_capability, |
| 360 | #endif | 360 | #endif |
| 361 | .end_for_frame = ftxfont_end_for_frame, | 361 | .end_for_frame = ftxfont_end_for_frame, |
| 362 | #if defined HAVE_M17N_FLT || defined HAVE_HARFBUZZ | 362 | #if defined HAVE_LIBOTF && (defined HAVE_M17N_FLT || defined HAVE_HARFBUZZ) |
| 363 | .shape = ftfont_shape, | 363 | .shape = ftfont_shape, |
| 364 | #endif | 364 | #endif |
| 365 | #ifdef HAVE_OTF_GET_VARIATION_GLYPHS | 365 | #ifdef HAVE_OTF_GET_VARIATION_GLYPHS |
diff --git a/src/xftfont.c b/src/xftfont.c index e0bd243467a..5111936f3e7 100644 --- a/src/xftfont.c +++ b/src/xftfont.c | |||
| @@ -672,7 +672,7 @@ xftfont_draw (struct glyph_string *s, int from, int to, int x, int y, | |||
| 672 | return len; | 672 | return len; |
| 673 | } | 673 | } |
| 674 | 674 | ||
| 675 | #if defined HAVE_M17N_FLT || defined HAVE_HARFBUZZ | 675 | #if defined HAVE_LIBOTF && (defined HAVE_M17N_FLT || defined HAVE_HARFBUZZ) |
| 676 | static Lisp_Object | 676 | static Lisp_Object |
| 677 | xftfont_shape (Lisp_Object lgstring) | 677 | xftfont_shape (Lisp_Object lgstring) |
| 678 | { | 678 | { |
| @@ -784,7 +784,7 @@ struct font_driver const xftfont_driver = | |||
| 784 | .otf_capability = ftfont_otf_capability, | 784 | .otf_capability = ftfont_otf_capability, |
| 785 | #endif | 785 | #endif |
| 786 | .end_for_frame = xftfont_end_for_frame, | 786 | .end_for_frame = xftfont_end_for_frame, |
| 787 | #if defined HAVE_M17N_FLT || defined HAVE_HARFBUZZ | 787 | #if defined HAVE_LIBOTF && (defined HAVE_M17N_FLT || defined HAVE_HARFBUZZ) |
| 788 | .shape = xftfont_shape, | 788 | .shape = xftfont_shape, |
| 789 | #endif | 789 | #endif |
| 790 | #ifdef HAVE_OTF_GET_VARIATION_GLYPHS | 790 | #ifdef HAVE_OTF_GET_VARIATION_GLYPHS |