summaryrefslogtreecommitdiff
path: root/src/ftfont.h
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2019-04-27 18:33:39 +0900
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2019-04-27 18:33:39 +0900
commit886bedb36c7b959b7e6fc8ce8e0c04e144b0ae28 (patch)
treeb5770d9fc10a704ad8aeb3474c6940121252c770 /src/ftfont.h
parent015a6e1df2772bd43680df5cbeaffccf98a881da (diff)
parent8dc00b2f1e6523c634df3e24379afbe712a32b27 (diff)
downloademacs-886bedb36c7b959b7e6fc8ce8e0c04e144b0ae28.tar.gz
Merge branch 'master' into harfbuzz
Diffstat (limited to 'src/ftfont.h')
-rw-r--r--src/ftfont.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ftfont.h b/src/ftfont.h
index 3bbcbfb5d70..f877860895e 100644
--- a/src/ftfont.h
+++ b/src/ftfont.h
@@ -59,13 +59,17 @@ struct font_info
#endif /* HAVE_LIBOTF */
FT_Size ft_size;
int index;
+ /* Index of the bitmap strike used as a fallback for
+ FT_Set_Pixel_Sizes failure. If the value is non-negative, then
+ ft_size is not of the requested size. Otherwise it is -1. */
+ FT_Int bitmap_strike_index;
FT_Matrix matrix;
#ifdef HAVE_HARFBUZZ
hb_font_t *hb_font;
#endif /* HAVE_HARFBUZZ */
#ifdef USE_CAIRO
- cairo_font_face_t *cr_font_face;
+ cairo_scaled_font_t *cr_scaled_font;
/* To prevent cairo from cluttering the activated FT_Size maintained
in ftfont.c, we activate this special FT_Size before drawing. */
FT_Size ft_size_draw;