mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-10 13:40:36 -08:00
(xfont_open): Cancel the previous about font->vertical_centering.
This commit is contained in:
parent
9bfd60bd6a
commit
634c4da043
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue