From: Kenichi Handa Date: Wed, 9 Jul 2008 02:02:14 +0000 (+0000) Subject: (xfont_open): Cancel the previous about font->vertical_centering. X-Git-Tag: emacs-pretest-23.0.90~4276 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=634c4da043bc8acfc9d4110fc98096fb3d4dbf48;p=emacs.git (xfont_open): Cancel the previous about font->vertical_centering. --- diff --git a/src/xfont.c b/src/xfont.c index 9e7d68d51b8..6d529c9b54a 100644 --- a/src/xfont.c +++ b/src/xfont.c @@ -648,7 +648,10 @@ xfont_open (f, entity, pixel_size) if (NILP (fullname)) fullname = AREF (font_object, FONT_NAME_INDEX); - font->vertical_centering = 0; + font->vertical_centering + = (STRINGP (Vvertical_centering_font_regexp) + && (fast_string_match_ignore_case + (Vvertical_centering_font_regexp, fullname) >= 0)); return font_object; }