comparison src/ChangeLog.unicode @ 90470:029ed8eaf83b

*** empty log message ***
author Kenichi Handa <handa@m17n.org>
date Fri, 16 Jun 2006 12:41:22 +0000
parents 48b05b7bf674
children bdc1386b2827
comparison
equal deleted inserted replaced
90469:c9df3c05d0ed 90470:029ed8eaf83b
1 2006-06-16 Kenichi Handa <handa@m17n.org>
2
3 * font.h (struct font_driver): Member parse_name deleted.
4 (font_match_p, font_get_spec, font_parse_fcname)
5 (font_unparse_fcname): Extern them.
6 (font_get_name): Prototype adjusted.
7
8 * font.c (XLFD_SMALLNUM_MASK): Delete this macro.
9 (XLFD_LARGENUM_MASK): Delete XLFD_ENCODING_MASK from it.
10 (font_expand_wildcards): Fix handling ENCODING field. Avoid
11 unnecessary checks for weight, slant, and swidth.
12 (font_parse_fcname): New function.
13 (font_unparse_fcname): New function.
14 (font_parse_name): New function.
15 (font_match_p): New function.
16 (font_get_name): Return value changed to Lisp string.
17 (font_get_spec): New function.
18 (Qunspecified, Qignore_defface): Don't extern them.
19 (font_find_for_lface): Assume that LFACE is fully specified.
20 (font_load_for_face): If lface[LFACE_FONT_INDEX] is an font
21 object, use it for FACE.
22 (font_open_by_name): Call Ffont_spec with QCname prop. Don't call
23 driver->parse_name.
24 (Ffont_spec): Call font_parse_name, not font_parse_xlfd.
25
26 * fontset.h (new_fontset_from_font) [USE_FONT_BACKEND]: Prototype
27 adjusted.
28
29 * fontset.c (new_fontset_from_font) [USE_FONT_BACKEND]: Argument F
30 deleted. Don't call Fnew_fontset. Instead, directly call
31 make_fontset.
32
33 * frame.h (x_new_fontset2) [USE_FONT_BACKEND]: Prototype adjusted.
34
35 * frame.c (x_set_font) [USE_FONT_BACKEND]: Adjusted for the change
36 of x_new_fontset2.
37
38 * ftfont.c (Qmonospace, Qsans_serif, Qserif, Qmono, Qsans)
39 (Qsans__serif): New variables.
40 (ftfont_generic_family_list): New variable.
41 (syms_of_ftfont): Initialize the above variables.
42 (ftfont_pattern_entity): Argument NAME deleted.
43 (ftfont_list_generic_family): New function.
44 (ftfont_parse_name): Delete this function.
45 (ftfont_list): Try generic family only when FcFontList found no
46 font.
47 (ftfont_list_family): Fix args to FcObjectSetBuild.
48
49 * xfaces.c (check_lface_attrs) [USE_FONT_BACKEND]: Accept font
50 object in attrs[LFACE_FONT_INDEX].
51 (set_lface_from_font_name): Cancel all changes for font-backend.
52 (set_lface_from_font_and_fontset) [USE_FONT_BACKEND]: New
53 function.
54 (Finternal_set_lisp_face_attribute) [USE_FONT_BACKEND]: Accept a
55 font object in QCfont attribute.
56 (set_font_frame_param) [USE_FONT_BACKEND]: Likewise.
57 (realize_default_face) [USE_FONT_BACKEND]: Call
58 set_lface_from_font_and_fontset.
59
60 * xfns.c (x_default_font_parameter) [USE_FONT_BACKEND]: Try also
61 "fixed", and signal error here if no suitable font was found.
62
63 * xfont.c (xfont_parse_name): Delete this function.
64
65 * xftfont.c (xftfont_open): Change coding style of error
66 handling. Generate fontconfig's fontname pattern.
67
68 * xterm.h (struct x_output) [USE_FONT_BACKEND]: New member fontp.
69 (FRAME_FONT_OBJECT) [USE_FONT_BACKEND]: New macro.
70
71 * xterm.c (x_new_fontset2) [USE_FONT_BACKEND]: Change arguments.
72 Both args FONTSET and FONT_OBJECT must be existing ones.
73
1 2006-06-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 74 2006-06-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 75
3 * macterm.c (mac_set_unicode_keystroke_event): Don't use MAKE_CHAR. 76 * macterm.c (mac_set_unicode_keystroke_event): Don't use MAKE_CHAR.
4 77
5 2006-06-14 Kenichi Handa <handa@m17n.org> 78 2006-06-14 Kenichi Handa <handa@m17n.org>