aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2008-12-30 23:36:56 +0000
committerKenichi Handa2008-12-30 23:36:56 +0000
commitc63715cf35aa0078af0be17fbb2d324fca56c4dc (patch)
tree86b76f54f09d6dec69913ee01e86fae0c09b9df8 /src
parentee946858594753b55dab38e303cc650a56bb063d (diff)
downloademacs-c63715cf35aa0078af0be17fbb2d324fca56c4dc.tar.gz
emacs-c63715cf35aa0078af0be17fbb2d324fca56c4dc.zip
(struct font_driver): New member get_variation_glyphs.
Diffstat (limited to 'src')
-rw-r--r--src/font.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/font.h b/src/font.h
index 12781d95384..a33577cc130 100644
--- a/src/font.h
+++ b/src/font.h
@@ -653,8 +653,18 @@ struct font_driver
653 /* Optional. 653 /* Optional.
654 654
655 If FONT is usable on frame F, return 0. Otherwise return -1. 655 If FONT is usable on frame F, return 0. Otherwise return -1.
656 */ 656 This method is used only for debugging. If this method is NULL,
657 Emacs assumes that the font is usable on any frame. */
657 int (*check) P_ ((FRAME_PTR F, struct font *font)); 658 int (*check) P_ ((FRAME_PTR F, struct font *font));
659
660 /* Optional.
661
662 Return the number of variation glyphs of character C supported by
663 FONT. VARIATIONS is an array of 256 elements. If the variation
664 selector N (1..256) defines a glyph, that glyph code is stored in
665 the (N-1)th element of VARIATIONS. */
666 int (*get_variation_glyphs) P_ ((struct font *font,
667 int c, unsigned variations[256]));
658}; 668};
659 669
660 670