diff options
| author | Kenichi Handa | 2007-09-16 10:25:34 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2007-09-16 10:25:34 +0000 |
| commit | ef5e1a96514126f8175a9409041ed1f8eeac9518 (patch) | |
| tree | 0aacf293ad2fcaf74b73b2e7fd8a40afeeb692d6 /src | |
| parent | 3b2e8207699d3ea2addb2f5d78dc51b2e484b482 (diff) | |
| download | emacs-ef5e1a96514126f8175a9409041ed1f8eeac9518.tar.gz emacs-ef5e1a96514126f8175a9409041ed1f8eeac9518.zip | |
(struct font_driver): Docstring of text_extents improved.
Diffstat (limited to 'src')
| -rw-r--r-- | src/font.h | 6 |
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 | |||
| 341 | If FONT doesn't have such a glyph, return FONT_INVALID_CODE. */ | 341 | If FONT doesn't have such a glyph, return FONT_INVALID_CODE. */ |
| 342 | unsigned (*encode_char) P_ ((struct font *font, int c)); | 342 | unsigned (*encode_char) P_ ((struct font *font, int c)); |
| 343 | 343 | ||
| 344 | /* Perform the size computation of glyphs of FONT and fillin members | 344 | /* Computate the total metrics of the NGLYPHS glyphs specified by |
| 345 | of METRICS. The glyphs are specified by their glyph codes in | 345 | the font FONT and the sequence of glyph codes CODE, and store the |
| 346 | CODE (length NGLYPHS). */ | 346 | result in METRICS. */ |
| 347 | int (*text_extents) P_ ((struct font *font, | 347 | int (*text_extents) P_ ((struct font *font, |
| 348 | unsigned *code, int nglyphs, | 348 | unsigned *code, int nglyphs, |
| 349 | struct font_metrics *metrics)); | 349 | struct font_metrics *metrics)); |