changeset 91033:e25192c0a550

(struct font_driver): Docstring of text_extents improved.
author Kenichi Handa <handa@m17n.org>
date Sun, 16 Sep 2007 10:25:34 +0000
parents a7bcd4b15f84
children fe9053c62d68
files src/font.h
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/font.h	Fri Sep 14 23:28:55 2007 +0000
+++ b/src/font.h	Sun Sep 16 10:25:34 2007 +0000
@@ -341,9 +341,9 @@
      If FONT doesn't have such a glyph, return FONT_INVALID_CODE.  */
   unsigned (*encode_char) P_ ((struct font *font, int c));
 
-  /* Perform the size computation of glyphs of FONT and fillin members
-     of METRICS.  The glyphs are specified by their glyph codes in
-     CODE (length NGLYPHS).  */
+  /* Computate the total metrics of the NGLYPHS glyphs specified by
+     the font FONT and the sequence of glyph codes CODE, and store the
+     result in METRICS.  */
   int (*text_extents) P_ ((struct font *font,
 			   unsigned *code, int nglyphs,
 			   struct font_metrics *metrics));