aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/font.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/font.h b/src/font.h
index 895b8bb3a9e..264dd2b815b 100644
--- a/src/font.h
+++ b/src/font.h
@@ -172,6 +172,9 @@ struct font
172 /* Ascent and descent of the font (in pixels). */ 172 /* Ascent and descent of the font (in pixels). */
173 int ascent, descent; 173 int ascent, descent;
174 174
175 /* 1 iff the font is scalable. */
176 int scalable;
177
175 /* There will be more to this structure, but they are private to a 178 /* There will be more to this structure, but they are private to a
176 font-driver. */ 179 font-driver. */
177}; 180};
@@ -401,7 +404,7 @@ struct font_driver
401 short, return -1. */ 404 short, return -1. */
402 int (*otf_gsub) P_ ((struct font *font, Lisp_Object gsub_spec, 405 int (*otf_gsub) P_ ((struct font *font, Lisp_Object gsub_spec,
403 Lisp_Object gstring_in, int from, int to, 406 Lisp_Object gstring_in, int from, int to,
404 Lisp_Object gstring_out, int idx)); 407 Lisp_Object gstring_out, int idx, int alternate_subst));
405 408
406 /* Optional. 409 /* Optional.
407 Drive FONT's OTF GPOS features according to GPOS_SPEC. 410 Drive FONT's OTF GPOS features according to GPOS_SPEC.
@@ -491,7 +494,8 @@ extern Lisp_Object font_otf_capability P_ ((struct font *font));
491/* This can be used as `otf_gsub' method of a font-driver. */ 494/* This can be used as `otf_gsub' method of a font-driver. */
492extern int font_otf_gsub P_ ((struct font *font, Lisp_Object gsub_spec, 495extern int font_otf_gsub P_ ((struct font *font, Lisp_Object gsub_spec,
493 Lisp_Object gstring_in, int from, int to, 496 Lisp_Object gstring_in, int from, int to,
494 Lisp_Object gstring_out, int idx)); 497 Lisp_Object gstring_out, int idx,
498 int alternate_subst));
495/* This can be used as `otf_gpos' method of a font-driver. */ 499/* This can be used as `otf_gpos' method of a font-driver. */
496extern int font_otf_gpos P_ ((struct font *font, Lisp_Object gpos_spec, 500extern int font_otf_gpos P_ ((struct font *font, Lisp_Object gpos_spec,
497 Lisp_Object gstring, int from, int to)); 501 Lisp_Object gstring, int from, int to));