Commit ef5e1a96 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(struct font_driver): Docstring of text_extents improved.

parent 3b2e8207
......@@ -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));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment