aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ftfont.c3
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 */