From ed9aabdb231dccb5b2209c1e1a4945a9694b1bb5 Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 6 Nov 2007 04:42:10 +0000 Subject: [PATCH] (mface__for_chars): Adjusts the unit of face's ascent and descent. --- src/face.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/face.c b/src/face.c index d238eb3..68f774a 100644 --- a/src/face.c +++ b/src/face.c @@ -834,8 +834,8 @@ mface__for_chars (MSymbol script, MSymbol language, MSymbol charset, new->layouter = rfont->layouter; rfont->layouter = Mnil; new->non_ascii_list = NULL; - new->ascent = rfont->ascent; - new->descent = rfont->descent; + new->ascent = rfont->ascent >> 6; + new->descent = rfont->descent >> 6; } for (; from_g < to_g && from_g->rface->font; from_g++) { @@ -925,8 +925,8 @@ mface__for_chars (MSymbol script, MSymbol language, MSymbol charset, new->non_ascii_list = NULL; if (rfont) { - new->ascent = rfont->ascent; - new->descent = rfont->descent; + new->ascent = rfont->ascent >> 6; + new->descent = rfont->descent >> 6; } } while (g < from_g) -- 1.7.10.4