comparison src/font.h @ 91293:c45d16b39212

(struct font_driver): Docstring of member `shape' is improved.
author Kenichi Handa <handa@m17n.org>
date Thu, 27 Dec 2007 01:14:29 +0000
parents 4afd897cd60b
children 8e67cd1b2741
comparison
equal deleted inserted replaced
91292:a34e7fed064e 91293:c45d16b39212
444 End using the driver for frame F. Usually this function free 444 End using the driver for frame F. Usually this function free
445 some data stored for F. */ 445 some data stored for F. */
446 int (*end_for_frame) P_ ((FRAME_PTR f)); 446 int (*end_for_frame) P_ ((FRAME_PTR f));
447 447
448 /* Optional. 448 /* Optional.
449 Shape text in LGSTRING. */ 449
450 Shape text in LGSTRING. See the docstring of `font-make-gstring'
451 for the format of LGSTRING. If the (N+1)th element of LGSTRING
452 is nil, input of shaping is from the 1st to (N)th elements. In
453 each input glyph, FROM, TO, CHAR, and CODE are already set.
454
455 This function updates all fields of the input glyphs. If the
456 output glyphs (M) are more than the input glyphs (N), (N+1)th
457 through (M)th elements of LGSTRING are updated possibly by making
458 a new glyph object and storing it in LGSTRING. If (M) is greater
459 than the length of LGSTRING, nil should be return. In that case,
460 this function is called again with the larger LGSTRING. */
450 Lisp_Object (*shape) P_ ((Lisp_Object lgstring)); 461 Lisp_Object (*shape) P_ ((Lisp_Object lgstring));
451 }; 462 };
452 463
453 464
454 /* Chain of font drivers. There's one global font driver list 465 /* Chain of font drivers. There's one global font driver list