diff options
| -rw-r--r-- | src/ftfont.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ftfont.c b/src/ftfont.c index f4e0d7d8408..2373af8766a 100644 --- a/src/ftfont.c +++ b/src/ftfont.c | |||
| @@ -2691,7 +2691,7 @@ ftfont_shape_by_flt (Lisp_Object lgstring, struct font *font, | |||
| 2691 | } | 2691 | } |
| 2692 | 2692 | ||
| 2693 | Lisp_Object | 2693 | Lisp_Object |
| 2694 | ftfont_shape (Lisp_Object lgstring) | 2694 | ftfont_shape (Lisp_Object lgstring, Lisp_Object direction) |
| 2695 | { | 2695 | { |
| 2696 | struct font *font = CHECK_FONT_GET_OBJECT (LGSTRING_FONT (lgstring)); | 2696 | struct font *font = CHECK_FONT_GET_OBJECT (LGSTRING_FONT (lgstring)); |
| 2697 | struct font_info *ftfont_info = (struct font_info *) font; | 2697 | struct font_info *ftfont_info = (struct font_info *) font; |
| @@ -3019,7 +3019,6 @@ Lisp_Object | |||
| 3019 | fthbfont_shape (Lisp_Object lgstring, Lisp_Object direction) | 3019 | fthbfont_shape (Lisp_Object lgstring, Lisp_Object direction) |
| 3020 | { | 3020 | { |
| 3021 | struct font *font = CHECK_FONT_GET_OBJECT (LGSTRING_FONT (lgstring)); | 3021 | struct font *font = CHECK_FONT_GET_OBJECT (LGSTRING_FONT (lgstring)); |
| 3022 | struct font_info *ftfont_info = (struct font_info *) font; | ||
| 3023 | 3022 | ||
| 3024 | return fthbfont_shape_by_hb (lgstring, font, direction); | 3023 | return fthbfont_shape_by_hb (lgstring, font, direction); |
| 3025 | } | 3024 | } |
| @@ -3116,9 +3115,6 @@ static struct font_driver const ftfont_driver = | |||
| 3116 | .filter_properties = ftfont_filter_properties, | 3115 | .filter_properties = ftfont_filter_properties, |
| 3117 | .combining_capability = ftfont_combining_capability, | 3116 | .combining_capability = ftfont_combining_capability, |
| 3118 | }; | 3117 | }; |
| 3119 | #ifdef HAVE_HARFBUZZ | ||
| 3120 | static struct font_driver fthbfont_driver; | ||
| 3121 | #endif /* HAVE_HARFBUZZ */ | ||
| 3122 | 3118 | ||
| 3123 | void | 3119 | void |
| 3124 | syms_of_ftfont (void) | 3120 | syms_of_ftfont (void) |