comparison src/ChangeLog.unicode @ 91145:bc935454570f

*** empty log message ***
author Kenichi Handa <handa@m17n.org>
date Sat, 01 Dec 2007 02:42:37 +0000
parents d576e6864dbb
children 485dac98ed72
comparison
equal deleted inserted replaced
91144:4e7de6e7eb8e 91145:bc935454570f
1 2007-12-01 Kenichi Handa <handa@ni.aist.go.jp>
2
3 * Makefile.in (ALL_CFLAGS): Add @M17N_FLT_CFLAGS@.
4 (FONTSRC, FONTOBJ) [HAVE_WINDOW_SYSTEM]: Set them unconditionally.
5 (LIBES): Add @M17N_FLT_CFLAGS@.
6
7 * composite.c (compose_text): Don't treat the new style
8 composition specially.
9
10 * emacs.c (main): Call syms_of_font unconditionally.
11
12 * font.h (FONT_ENTITY_NOT_LOADABLE)
13 (FONT_ENTITY_SET_NOT_LOADABLE): New macros.
14 (LGSTRING_XXXX, LGLYPH_XXX): Adjusted for the change of lispy
15 gstring.
16 (struct font_driver): New member shape.
17 (font_registry_charsets): Extern. it.
18 (font_find_for_lface): Prototype adjusted.
19 (font_prepare_composition): Likewise.
20 (font_otf_capability, font_drive_otf): Delete their externs.
21
22 * font.c [HAVE_M17N_FLT]: Include <m17n-flt.h>.
23 (font_charset_alist): Moved from xfont.c and renamed.
24 (font_registry_charsets): Likewise.
25 (font_prop_validate_otf): New function.
26 (font_property_table): Register it for QCotf.
27 (DEVICE_DELTA, adjust_anchor, REPLACEMENT_CHARACTER)
28 (font_drive_otf): Deleted.
29 (font_prepare_composition): New arg F. Adjusted for the change of
30 lispy gstring.
31 (font_find_for_lface): New arg C.
32 (font_load_for_face): Adjusted for the change of
33 font_find_for_lface.
34 (Ffont_make_gstring): Adjusted for the change of lispy gstring.
35 (Ffont_fill_gstring): Likewise.
36 (Ffont_shape_text): New function.
37 (Fopen_font): If the font size is not given, use 12-pixel.
38 (Ffont_at): New arg STRING.
39 (syms_of_font): Initalize font_charset_alist. Declare
40 Ffont_shape_text as a Lisp function. Call syms_of_XXfont
41 conditionally.
42
43 * fontset.c (fontset_find_font) [USE_FONT_BACKEND]: Try multiple
44 fonts of the same font-spec. Change the format of RFONT-DEF.
45 (face_for_char): Adjusted for the change of RFONT-DEF.
46 (make_fontset_for_ascii_face): Likewise.
47 (Finternal_char_font): Likewise.
48 (Fset_fontset_font) [USE_FONT_BACKEND]: Handle new format of
49 font-spec.
50
51 * ftfont.h: New file.
52
53 * ftfont.c: Don't include Freetype headers. Include "ftfont.h".
54 (struct ftfont_info) [HAVE_LIBOTF]: New members maybe_otf and otf.
55 (ftfont_open) [HAVE_LIBOTF]: Initialize the above members.
56 (ftfont_driver) [HAVE_LIBOTF, HAVE_M17N_FLT]: Don't set
57 font_otf_capability and font_drive_otf, set ftfont_shape.
58 (ftfont_list): Adjusted for the change of :otf property value.
59 (struct MFLTFontFT) [HAVE_LIBOTF, HAVE_M17N_FLT]: New struct.
60 (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_check_otf)
61 (adjust_anchor, ftfont_drive_otf, ftfont_shape_by_flt)
62 (ftfont_shape) [HAVE_LIBOTF, HAVE_M17N_FLT]: New function.s
63 (DEVICE_DELTA) [HAVE_LIBOTF, HAVE_M17N_FLT]: New macro.
64 (otf_gstring, gstring, m17n_flt_initialized): New variables.
65
66 * w32term.c (x_draw_composite_glyph_string_foreground): Adjusted
67 for the change of lispy gstring.
68
69 * xdisp.c (handle_composition_prop): Adjusted for the change of
70 lispy gstring. Call a function for auto-composition with the
71 third arg it->window.
72 (fill_composite_glyph_string): Adjusted for the change of lispy
73 string.
74 (x_produce_glyphs): Adjusted for the change of
75 font_prepare_compositionl.
76
77 * xfaces.c (set_font_frame_param): Adjusted for the change of
78 font_find_for_lface.
79
80 * xfont.c (x_font_charset_alist): Moved to font.c and renamed.
81 (xfont_registry_charsets): Likewise. Caller changed.
82 (syms_of_xfont): Don't handle x_font_charset_alist.
83
84 * xftfont.c: Include "ftfont.h".
85 (struct xftfont_info) [HAVE_LIBOTF]: New members maybe_otf and
86 otf.
87 (xftfont_open) [HAVE_LIBOTF]: Initialize the above members.
88 (xftfont_close) [HAVE_LIBOTF]: Close otf.
89 (xftfont_shape) [HAVE_LIBOTF, HAVE_M17N_FLT]: New function.
90 (syms_of_xftfont) [HAVE_LIBOTF, HAVE_M17N_FLT]: Set
91 xftfont_driver.shape to xftfont_shape.
92
93 * xterm.c (x_draw_composite_glyph_string_foreground): Adjusted for
94 the change of lispy gstring.
95
1 2007-11-29 Kenichi Handa <handa@ni.aist.go.jp> 96 2007-11-29 Kenichi Handa <handa@ni.aist.go.jp>
2 97
3 * ftxfont.c (ftxfont_end_for_frame): Fix array indexing error. 98 * ftxfont.c (ftxfont_end_for_frame): Fix array indexing error.
4 99
5 2007-12-01 Jason Rumney <jasonr@gnu.org> 100 2007-12-01 Jason Rumney <jasonr@gnu.org>