diff options
| author | Khaled Hosny | 2018-12-22 10:48:05 +0200 |
|---|---|---|
| committer | Khaled Hosny | 2018-12-22 10:48:05 +0200 |
| commit | 47d1cdc2a5522142fcee226f05038601bffcbd41 (patch) | |
| tree | 00fb2f898544a7281f3ac965340b4b9827ebd3ab /src | |
| parent | 47ed564056a657eb602559576d59cd66734e7234 (diff) | |
| download | emacs-47d1cdc2a5522142fcee226f05038601bffcbd41.tar.gz emacs-47d1cdc2a5522142fcee226f05038601bffcbd41.zip | |
Fix previous commit
Diffstat (limited to 'src')
| -rw-r--r-- | src/ftfont.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ftfont.c b/src/ftfont.c index 43a3e46e578..ba905ed4639 100644 --- a/src/ftfont.c +++ b/src/ftfont.c | |||
| @@ -2949,11 +2949,14 @@ ftfont_shape (Lisp_Object lgstring) | |||
| 2949 | else | 2949 | else |
| 2950 | #endif /* HAVE_HARFBUZZ */ | 2950 | #endif /* HAVE_HARFBUZZ */ |
| 2951 | { | 2951 | { |
| 2952 | #if defined HAVE_M17N_FLT && defined HAVE_LIBOTF | ||
| 2952 | OTF *otf = ftfont_get_otf (ftfont_info); | 2953 | OTF *otf = ftfont_get_otf (ftfont_info); |
| 2953 | 2954 | ||
| 2954 | return ftfont_shape_by_flt (lgstring, font, ftfont_info->ft_size->face, | 2955 | return ftfont_shape_by_flt (lgstring, font, ftfont_info->ft_size->face, |
| 2955 | otf, &ftfont_info->matrix); | 2956 | otf, &ftfont_info->matrix); |
| 2957 | #endif /* defined HAVE_M17N_FLT && defined HAVE_LIBOTF */ | ||
| 2956 | } | 2958 | } |
| 2959 | return make_fixnum (0); | ||
| 2957 | } | 2960 | } |
| 2958 | 2961 | ||
| 2959 | #endif /* (defined HAVE_M17N_FLT && defined HAVE_LIBOTF) || defined HAVE_HARFBUZZ */ | 2962 | #endif /* (defined HAVE_M17N_FLT && defined HAVE_LIBOTF) || defined HAVE_HARFBUZZ */ |