Commit 227f12fa authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(font_find_for_lface): Copy SPEC's FONT_TYPE too.

parent 2d087c06
......@@ -3272,6 +3272,7 @@ font_find_for_lface (f, attrs, spec, c)
}
work = Fcopy_font_spec (spec);
ASET (work, FONT_TYPE_INDEX, AREF (spec, FONT_TYPE_INDEX));
XSETFRAME (frame, f);
size = AREF (spec, FONT_SIZE_INDEX);
pixel_size = font_pixel_size (f, spec);
......
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