changeset 101554:52affc17c7cf

(struct font_driver): Fix comment for has_char.
author Kenichi Handa <handa@m17n.org>
date Tue, 27 Jan 2009 05:08:00 +0000
parents a44c0bbce387
children a8e049b0d2c2
files src/font.h
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/font.h	Tue Jan 27 05:07:04 2009 +0000
+++ b/src/font.h	Tue Jan 27 05:08:00 2009 +0000
@@ -547,10 +547,10 @@
   void (*done_face) P_ ((FRAME_PTR f, struct face *face));
 
   /* Optional.
-     If FONT_ENTITY has a glyph for character C (Unicode code point),
-     return 1.  If not, return 0.  If a font must be opened to check
-     it, return -1.  */
-  int (*has_char) P_ ((Lisp_Object entity, int c));
+     If FONT (FONT-ENTITY or FONT-OBJECT) has a glyph for character C
+     (Unicode code point), return 1.  If not, return 0.  If FONT is
+     FONT-ENTITY and it must be opened to check it, return -1.  */
+  int (*has_char) P_ ((Lisp_Object font, int c));
 
   /* Return a glyph code of FONT for characer C (Unicode code point).
      If FONT doesn't have such a glyph, return FONT_INVALID_CODE.  */