diff options
author | Kenichi Handa <handa@m17n.org> | 2008-07-09 02:02:14 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2008-07-09 02:02:14 +0000 |
commit | 634c4da043bc8acfc9d4110fc98096fb3d4dbf48 (patch) | |
tree | e6444f867e2fb1737f7b40e6a8b134ab1ae8a5c7 | |
parent | 9bfd60bd6a737a2e8f12bf06de22135c05bca331 (diff) | |
download | emacs-634c4da043bc8acfc9d4110fc98096fb3d4dbf48.tar.gz |
(xfont_open): Cancel the previous about font->vertical_centering.
-rw-r--r-- | src/xfont.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |