# HG changeset patch # User Kenichi Handa # Date 1242648854 0 # Node ID 94e71fa6e9ac091f315c36fae774fa06cae8da93 # Parent c878fe60e8be4893acc28ebe38faf78d05c6e9b2 (font_find_for_lface): Copy SPEC's FONT_TYPE too. diff -r c878fe60e8be -r 94e71fa6e9ac src/font.c --- a/src/font.c Mon May 18 08:02:06 2009 +0000 +++ b/src/font.c Mon May 18 12:14:14 2009 +0000 @@ -3272,6 +3272,7 @@ } 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);