Mercurial > emacs
comparison src/fontset.c @ 89711:fca3686ff6bb
(new_fontset_from_font_name): Use the specified font
for all characters in the new fontset.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 15 Jan 2004 12:10:04 +0000 |
parents | cda6f41a592e |
children | 35a0a24752d3 |
comparison
equal
deleted
inserted
replaced
89710:48887be1efd8 | 89711:fca3686ff6bb |
---|---|
1520 | 1520 |
1521 sprintf (temp, "auto%d", len); | 1521 sprintf (temp, "auto%d", len); |
1522 ASET (vec, 13, build_string (temp)); | 1522 ASET (vec, 13, build_string (temp)); |
1523 name = build_font_name_from_vector (vec); | 1523 name = build_font_name_from_vector (vec); |
1524 } | 1524 } |
1525 name = Fnew_fontset (name, Fcons (Fcons (Qascii, Fcons (fontname, Qnil)), | 1525 name = Fnew_fontset (name, Fcons (Fcons (Fcons (make_number (0), |
1526 make_number (MAX_CHAR)), | |
1527 Fcons (fontname, Qnil)), | |
1526 Qnil)); | 1528 Qnil)); |
1527 id = fs_query_fontset (name, 0); | 1529 id = fs_query_fontset (name, 0); |
1528 auto_fontset_alist | 1530 auto_fontset_alist |
1529 = Fcons (Fcons (fontname, make_number (id)), auto_fontset_alist); | 1531 = Fcons (Fcons (fontname, make_number (id)), auto_fontset_alist); |
1530 return id; | 1532 return id; |