emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/src font.h


From: Kenichi Handa
Subject: [Emacs-diffs] emacs/src font.h
Date: Tue, 30 Dec 2008 23:36:56 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Kenichi Handa <handa>   08/12/30 23:36:56

Modified files:
        src            : font.h 

Log message:
        (struct font_driver): New member get_variation_glyphs.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/font.h?cvsroot=emacs&r1=1.23&r2=1.24

Patches:
Index: font.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/font.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- font.h      31 Aug 2008 00:57:00 -0000      1.23
+++ font.h      30 Dec 2008 23:36:56 -0000      1.24
@@ -653,8 +653,18 @@
   /* Optional.
 
      If FONT is usable on frame F, return 0.  Otherwise return -1.
-   */
+     This method is used only for debugging.  If this method is NULL,
+     Emacs assumes that the font is usable on any frame.  */
   int (*check) P_ ((FRAME_PTR F, struct font *font));
+
+  /* Optional.
+
+     Return the number of variation glyphs of character C supported by
+     FONT.  VARIATIONS is an array of 256 elements.  If the variation
+     selector N (1..256) defines a glyph, that glyph code is stored in
+     the (N-1)th element of VARIATIONS.  */
+  int (*get_variation_glyphs) P_ ((struct font *font,
+                                  int c, unsigned variations[256]));
 };
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]