From ab9448fc98245e015904b410cfdcc1b59d8ee48a Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 18 Aug 2005 01:08:36 +0000 Subject: [PATCH] (struct MRealizedFace): New member font. (mface__realize): Prototype adjusted. --- src/face.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/face.h b/src/face.h index 28c437b..02acd32 100644 --- a/src/face.h +++ b/src/face.h @@ -50,8 +50,8 @@ enum MFaceProperty MFACE_HOOK_FUNC, MFACE_HOOK_ARG, - /* In a realized face, this is already reflected in MFACE_SIZE, - thus is ignored. */ + /* In a realized face, this is ignored because it is already + reflected in MFACE_SIZE. */ MFACE_RATIO, MFACE_PROPERTY_MAX @@ -80,6 +80,9 @@ struct MRealizedFace /** Properties of all stacked faces are merged into here. */ MFace face; + /** Font explicitly specified for the face (maybe NULL). */ + MFont *font; + /** From what faces this is realized. Keys are Mface and values are (MFace *). */ MPlist *base_face_list; @@ -114,7 +117,7 @@ struct MRealizedFace extern MFace *mface__default; extern MRealizedFace *mface__realize (MFrame *frame, MFace **faces, int num, - int limitted_size); + int limitted_size, MFont *font); extern MGlyph *mface__for_chars (MSymbol script, MSymbol language, MSymbol charset, MGlyph *from_g, MGlyph *to_g, -- 1.7.10.4