summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2007-09-16 10:25:34 +0000
committerKenichi Handa <handa@m17n.org>2007-09-16 10:25:34 +0000
commit767157eb5178d08aa5302f6025db06059a74afbb (patch)
tree8e11fd8b9e19dc4cce1b90562b8548597155a0fe
parent50a40547b1dff8c52d1dc9788736b48c9750b141 (diff)
downloademacs-767157eb5178d08aa5302f6025db06059a74afbb.tar.gz
(struct font_driver): Docstring of text_extents improved.
-rw-r--r--src/font.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/font.h b/src/font.h
index 3b12770d74d..bc15dc779fc 100644
--- a/src/font.h
+++ b/src/font.h
@@ -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));