Commit 634c4da0 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(xfont_open): Cancel the previous about font->vertical_centering.

parent 9bfd60bd
......@@ -648,7 +648,10 @@ xfont_open (f, entity, pixel_size)
if (NILP (fullname))
fullname = AREF (font_object, FONT_NAME_INDEX);
font->vertical_centering = 0;
= (STRINGP (Vvertical_centering_font_regexp)
&& (fast_string_match_ignore_case
(Vvertical_centering_font_regexp, fullname) >= 0));
return font_object;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment