# HG changeset patch # User Kenichi Handa # Date 1189938334 0 # Node ID e25192c0a5507d73769a035032bb1220c8b48890 # Parent a7bcd4b15f84116300eb22ff3678fb1dc5014867 (struct font_driver): Docstring of text_extents improved. diff -r a7bcd4b15f84 -r e25192c0a550 src/font.h --- 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));