]> git.eshelyaron.com Git - emacs.git/commitdiff
(struct font_driver): Docstring of text_extents improved.
authorKenichi Handa <handa@m17n.org>
Sun, 16 Sep 2007 10:25:34 +0000 (10:25 +0000)
committerKenichi Handa <handa@m17n.org>
Sun, 16 Sep 2007 10:25:34 +0000 (10:25 +0000)
src/font.h

index 3b12770d74d6037b6173f035e2dc4f2629ccaa80..bc15dc779fcd0053bce00a37c11a24593f4ed942 100644 (file)
@@ -341,9 +341,9 @@ struct font_driver
      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));