summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2009-05-18 12:14:14 +0000
committerKenichi Handa <handa@m17n.org>2009-05-18 12:14:14 +0000
commit227f12fabb3624dd28c6ce0db39f8f3926053e2b (patch)
treef71b8d273424e0af29a95bb9f2739639ac8a8f16 /src
parent2d087c0685b3738c2f4bc8be85758ce4e317d58d (diff)
downloademacs-227f12fabb3624dd28c6ce0db39f8f3926053e2b.tar.gz
(font_find_for_lface): Copy SPEC's FONT_TYPE too.
Diffstat (limited to 'src')
-rw-r--r--src/font.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/font.c b/src/font.c
index 19bc70dd976..9095d05cd33 100644
--- a/src/font.c
+++ b/src/font.c
@@ -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);