Mercurial > emacs
changeset 28408:6ff20b891ec1
Augment the comment of lookup_face.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 30 Mar 2000 00:27:29 +0000 |
parents | f15029804aba |
children | 4a7f44c0b33d |
files | src/xfaces.c |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfaces.c Wed Mar 29 23:24:14 2000 +0000 +++ b/src/xfaces.c Thu Mar 30 00:27:29 2000 +0000 @@ -4864,7 +4864,13 @@ of frame F. The face will be used to display character C. Value is the ID of the face found. If no suitable face is found, realize a new one. In that case, if C is a multibyte character, BASE_FACE - is a face for ASCII characters that has the same attributes. */ + is a face for ASCII characters that has the same attributes. + + When this function is called from face_for_char (in this case, C is + a multibyte character), a fontset of a face returned by + realize_face is not yet set, i.e. FACE_SUITABLE_FOR_CHAR_P (FACE, + C) is not sutisfied. The fontset is set for this face by + face_for_char later. */ INLINE int lookup_face (f, attr, c, base_face)