Mercurial > emacs
comparison src/ChangeLog @ 91548:63d4513550f9
(Fcompose_region_internal, Fcompose_string_internal): Declare.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 06 Feb 2008 03:10:25 +0000 |
parents | cff1e89ad92a |
children | 4f94f3794026 |
comparison
equal
deleted
inserted
replaced
91547:cff1e89ad92a | 91548:63d4513550f9 |
---|---|
1 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca> | 1 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca> |
2 | |
3 * composite.h (Fcompose_region_internal, Fcompose_string_internal): | |
4 Declare. | |
2 | 5 |
3 * chartab.c (make_sub_char_table): Remove noop-yet-incorrect statement. | 6 * chartab.c (make_sub_char_table): Remove noop-yet-incorrect statement. |
4 | 7 |
5 2008-02-05 Jason Rumney <jasonr@gnu.org> | 8 2008-02-05 Jason Rumney <jasonr@gnu.org> |
6 | 9 |
19 | 22 |
20 2008-02-04 Kenichi Handa <handa@ni.aist.go.jp> | 23 2008-02-04 Kenichi Handa <handa@ni.aist.go.jp> |
21 | 24 |
22 * fontset.c (Ffontset_info): Handle the case of inhibitting the | 25 * fontset.c (Ffontset_info): Handle the case of inhibitting the |
23 fallback fonts. | 26 fallback fonts. |
24 (Ffontset_info) [USE_FONT_BACKEND]: Fix getting of opened font | 27 (Ffontset_info) [USE_FONT_BACKEND]: Fix getting of opened font names. |
25 names. | |
26 | 28 |
27 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 29 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
28 | 30 |
29 * ccl.c (CCL_WRITE_CHAR, CCL_WRITE_MULTIBYTE_CHAR, ccl_driver): | 31 * ccl.c (CCL_WRITE_CHAR, CCL_WRITE_MULTIBYTE_CHAR, ccl_driver): |
30 Cancel previous change. | 32 Cancel previous change. |
77 | 79 |
78 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 80 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
79 | 81 |
80 * fontset.c (reorder_font_vector): Exclude nil elements from the | 82 * fontset.c (reorder_font_vector): Exclude nil elements from the |
81 font group. Don't try multiple fonts. | 83 font group. Don't try multiple fonts. |
82 (fontset_font): Adjusted for the above change. | 84 (fontset_font): Adjust for the above change. |
83 (Finternal_char_font): Return nil if the found font doesn't | 85 (Finternal_char_font): Return nil if the found font doesn't |
84 contain the character ch. | 86 contain the character ch. |
85 | 87 |
86 * Makefile.in (lisp): Add cham.el. | 88 * Makefile.in (lisp): Add cham.el. |
87 (shortlisp): Likewise. | 89 (shortlisp): Likewise. |
98 * fontset.c (reorder_font_vector): Fix typo. | 100 * fontset.c (reorder_font_vector): Fix typo. |
99 (fontset_find_font): Don't add a font-spec specifying a script. | 101 (fontset_find_font): Don't add a font-spec specifying a script. |
100 Use 0 (not Qt) for the indication of empty font-group. Change the | 102 Use 0 (not Qt) for the indication of empty font-group. Change the |
101 format of RFONT-DEF. Return Qt if no font in the font-group | 103 format of RFONT-DEF. Return Qt if no font in the font-group |
102 support the character. | 104 support the character. |
103 (fontset_font): Adjusted for the above change. If no font was | 105 (fontset_font): Adjust for the above change. If no font was |
104 found the character, remember that. | 106 found the character, remember that. |
105 (face_for_char): Adjusted for the change of RFONT-DEF. | 107 (face_for_char): Adjust for the change of RFONT-DEF. |
106 (Fset_fontset_font): Allow nil for FONT-SPEC to explicitly specify | 108 (Fset_fontset_font): Allow nil for FONT-SPEC to explicitly specify |
107 no font for the target. | 109 no font for the target. |
108 (Finternal_char_font): Adjusted for the change of RFONT-DEF. | 110 (Finternal_char_font): Adjust for the change of RFONT-DEF. |
109 | 111 |
110 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 112 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
111 | 113 |
112 * font.c (font_load_for_face): Handle the case that the font in | 114 * font.c (font_load_for_face): Handle the case that the font in |
113 face->lface is a string. | 115 face->lface is a string. |
166 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 168 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
167 | 169 |
168 * ftfont.c (ftfont_drive_otf): Fix setting of FROM and TO slots of | 170 * ftfont.c (ftfont_drive_otf): Fix setting of FROM and TO slots of |
169 glyphs. | 171 glyphs. |
170 | 172 |
171 * font.h (struct font_driver): Docstring of member `shape' is | 173 * font.h (struct font_driver): Docstring of member `shape' is improved. |
172 improved. | |
173 | 174 |
174 2008-02-01 Kenichi Handa <handa@m17n.org> | 175 2008-02-01 Kenichi Handa <handa@m17n.org> |
175 | 176 |
176 * composite.c (syms_of_composite): Fix docstring of | 177 * composite.c (syms_of_composite): Fix docstring of |
177 auto-composition-function. | 178 auto-composition-function. |
180 | 181 |
181 * font.c (Ffont_fill_gstring): Stop filling when a character not | 182 * font.c (Ffont_fill_gstring): Stop filling when a character not |
182 supported by the font is found. | 183 supported by the font is found. |
183 (Ffont_shape_text): When a shape callback function returns nil, | 184 (Ffont_shape_text): When a shape callback function returns nil, |
184 try at most two more times with larger gstring. | 185 try at most two more times with larger gstring. |
185 (Ffont_at): Fix getting of w. Call font_at with correct 5th | 186 (Ffont_at): Fix getting of w. Call font_at with correct 5th argument. |
186 argument. | |
187 | 187 |
188 * xdisp.c (handle_auto_composed_prop): Change the argument to | 188 * xdisp.c (handle_auto_composed_prop): Change the argument to |
189 auto-composition-function. | 189 auto-composition-function. |
190 | 190 |
191 * ftfont.c (ftfont_encode_char): Use the macro FONT_INVALID_CODE. | 191 * ftfont.c (ftfont_encode_char): Use the macro FONT_INVALID_CODE. |
200 | 200 |
201 * font.c (Ffont_shape_text): Avoid unnecessary composition. | 201 * font.c (Ffont_shape_text): Avoid unnecessary composition. |
202 | 202 |
203 * fontset.c (Vfont_encoding_charset_alist): New variable. | 203 * fontset.c (Vfont_encoding_charset_alist): New variable. |
204 (syms_of_fontset): DEFVAR it. | 204 (syms_of_fontset): DEFVAR it. |
205 (reorder_font_vector): Optimize for the case of no need of | 205 (reorder_font_vector): Optimize for the case of no need of reordring. |
206 reordring. | |
207 (fontset_find_font): Likewise. | 206 (fontset_find_font): Likewise. |
208 (face_for_char): Map the charset property by | 207 (face_for_char): Map the charset property by |
209 Vfont_encoding_charset_alist. | 208 Vfont_encoding_charset_alist. |
210 | 209 |
211 2008-02-01 Jason Rumney <jasonr@gnu.org> | 210 2008-02-01 Jason Rumney <jasonr@gnu.org> |
233 | 232 |
234 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 233 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
235 | 234 |
236 * ftfont.c (ftfont_get_cache): Adjust the argument type. | 235 * ftfont.c (ftfont_get_cache): Adjust the argument type. |
237 | 236 |
238 * frame.c (x_set_font_backend): Don't call Fclear_font_cache. If | 237 * frame.c (x_set_font_backend): Don't call Fclear_font_cache. |
239 none of the new drivers are available, call font_update_drviers | 238 If none of the new drivers are available, call font_update_drviers |
240 with the old drivers. | 239 with the old drivers. |
241 | 240 |
242 * w32font.c (w32font_get_cache): Adjust the argument type. | 241 * w32font.c (w32font_get_cache): Adjust the argument type. |
243 | 242 |
244 * xfont.c (xfont_get_cache): Adjust the argument type. | 243 * xfont.c (xfont_get_cache): Adjust the argument type. |
246 * font.h (struct font_driver): Change argument type of get_cache. | 245 * font.h (struct font_driver): Change argument type of get_cache. |
247 | 246 |
248 * xftfont.c (xftfont_start_for_frame): Delete prototype. | 247 * xftfont.c (xftfont_start_for_frame): Delete prototype. |
249 | 248 |
250 * font.c (Ffont_get): Fix arguments to Fassoc. | 249 * font.c (Ffont_get): Fix arguments to Fassoc. |
251 (font_prepare_cache, font_finish_cache, font_get_cache): New | 250 (font_prepare_cache, font_finish_cache, font_get_cache): New functions. |
252 functions. | |
253 (font_clear_cache): New function. | 251 (font_clear_cache): New function. |
254 (font_list_entities): Use font_get_cache. | 252 (font_list_entities): Use font_get_cache. |
255 (font_matching_entity): Likewise. | 253 (font_matching_entity): Likewise. |
256 (font_update_drivers): Call font_clear_cache when finishing a | 254 (font_update_drivers): Call font_clear_cache when finishing a driver. |
257 driver. | |
258 | 255 |
259 * fontset.c (fontset_find_font): Fix previous change. | 256 * fontset.c (fontset_find_font): Fix previous change. |
260 | 257 |
261 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 258 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
262 | 259 |
263 * xterm.c (x_check_font) [USE_FONT_BACKEND]: Don't access | 260 * xterm.c (x_check_font) [USE_FONT_BACKEND]: Don't access |
264 dpyinfo->font_table. | 261 dpyinfo->font_table. |
265 (x_delete_display) [USE_FONT_BACKEND]: Likewise. | 262 (x_delete_display) [USE_FONT_BACKEND]: Likewise. |
266 (x_delete_terminal) [USE_FONT_BACKEND]: Likewise | 263 (x_delete_terminal) [USE_FONT_BACKEND]: Likewise. |
267 | 264 |
268 * font.c (font_at): Handle the case that the arg C is negative. | 265 * font.c (font_at): Handle the case that the arg C is negative. |
269 Handle the unibyte case. | 266 Handle the unibyte case. |
270 (Ffont_at): Call font_at with the arg C -1. | 267 (Ffont_at): Call font_at with the arg C -1. |
271 | 268 |
272 * xdisp.c (handle_auto_composed_prop): Don't get a character at | 269 * xdisp.c (handle_auto_composed_prop): Don't get a character at |
273 the position here, and call font_at with the arg C -1. Don't | 270 the position here, and call font_at with the arg C -1. |
274 check the range of the existing composition at the point. | 271 Don't check the range of the existing composition at the point. |
275 | 272 |
276 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 273 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
277 | 274 |
278 * fontset.c (fontset_add): New args charset_id and famliy. Caller | 275 * fontset.c (fontset_add): New args charset_id and family. |
279 changed. | 276 Caller changed. |
280 (load_font_get_repertory): Assume that font_spec is always a | 277 (load_font_get_repertory): Assume that font_spec is always a |
281 font-spec object. | 278 font-spec object. |
282 (fontset_find_font): Likewise. | 279 (fontset_find_font): Likewise. |
283 (Fset_fontset_font): Always store a font-spec object in a fontset. | 280 (Fset_fontset_font): Always store a font-spec object in a fontset. |
284 | 281 |
344 * ftfont.c (struct OpenTypeSpec): New struct. | 341 * ftfont.c (struct OpenTypeSpec): New struct. |
345 (OTF_SYM_TAG, OTF_TAG_STR): New macros. | 342 (OTF_SYM_TAG, OTF_TAG_STR): New macros. |
346 (ftfont_get_open_type_spec): New function. | 343 (ftfont_get_open_type_spec): New function. |
347 (ftfont_list) [HAVE_LIBOTF]: Check otf-spec property. | 344 (ftfont_list) [HAVE_LIBOTF]: Check otf-spec property. |
348 | 345 |
349 * lread.c (read1): Redo the previous change with checking | 346 * lread.c (read1): Redo the previous change with checking Vpurify_flag. |
350 Vpurify_flag. | |
351 | 347 |
352 2008-02-01 Jason Rumney <jasonr@gnu.org> | 348 2008-02-01 Jason Rumney <jasonr@gnu.org> |
353 | 349 |
354 * w32font.c (add_font_entity_to_list): Compare only the beginning | 350 * w32font.c (add_font_entity_to_list): Compare only the beginning |
355 of full name. | 351 of full name. |
356 | 352 |
357 2008-02-01 Kenichi Handa <handa@m17n.org> | 353 2008-02-01 Kenichi Handa <handa@m17n.org> |
358 | 354 |
359 * xdisp.c (handle_auto_composed_prop): Simplify the code. Never | 355 * xdisp.c (handle_auto_composed_prop): Simplify the code. |
360 return HANDLED_RECOMPUTE_PROPS. | 356 Never return HANDLED_RECOMPUTE_PROPS. |
361 | 357 |
362 2008-02-01 Kenichi Handa <handa@m17n.org> | 358 2008-02-01 Kenichi Handa <handa@m17n.org> |
363 | 359 |
364 * font.c (font_gstring_produce): Delete it. | 360 * font.c (font_gstring_produce): Delete it. |
365 | 361 |
366 * composite.h (COMPOSITION_METHOD): Handle | 362 * composite.h (COMPOSITION_METHOD): |
367 COMPOSITION_WITH_GLYPH_STRING. | 363 Handle COMPOSITION_WITH_GLYPH_STRING. |
368 | 364 |
369 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 365 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
370 | 366 |
371 * xfont.c (Qx): Deleted. | 367 * xfont.c (Qx): Delete. |
372 (syms_of_xfont): Don't initialize Qx. | 368 (syms_of_xfont): Don't initialize Qx. |
373 | 369 |
374 * composite.h (enum composition_method): Define | 370 * composite.h (enum composition_method): |
375 COMPOSITION_WITH_GLYPH_STRING unconditionally. | 371 Define COMPOSITION_WITH_GLYPH_STRING unconditionally. |
376 | 372 |
377 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 373 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
378 | 374 |
379 * xfaces.c [HAVE_WINDOW_SYSTEM]: Include "font.h" unconditionally. | 375 * xfaces.c [HAVE_WINDOW_SYSTEM]: Include "font.h" unconditionally. |
380 (choose_face_font): Accept new form of font-spec. | 376 (choose_face_font): Accept new form of font-spec. |
382 * frame.h (font_driver_list): Declare it unconditionally. | 378 * frame.h (font_driver_list): Declare it unconditionally. |
383 (struct frame): Define members font_driver_list and font_data_list | 379 (struct frame): Define members font_driver_list and font_data_list |
384 unconditionally. | 380 unconditionally. |
385 | 381 |
386 * fontset.c: Include "font.h" unconditionally. | 382 * fontset.c: Include "font.h" unconditionally. |
387 (generate_ascii_font_name): Use font_parse_xlfd and | 383 (generate_ascii_font_name): Use font_parse_xlfd and font_unparse_xlfd. |
388 font_unparse_xlfd. | |
389 (Fset_fontset_font): Accept a font-spec object. | 384 (Fset_fontset_font): Accept a font-spec object. |
390 | 385 |
391 * font.c (font_unparse_xlfd): If pixel_size is zero, make the | 386 * font.c (font_unparse_xlfd): If pixel_size is zero, make the |
392 PIXEL_SIZE part a wild card. | 387 PIXEL_SIZE part a wild card. |
393 | 388 |
418 | 413 |
419 * emacs.c (main): Call syms_of_font unconditionally. | 414 * emacs.c (main): Call syms_of_font unconditionally. |
420 | 415 |
421 * font.h (FONT_ENTITY_NOT_LOADABLE) | 416 * font.h (FONT_ENTITY_NOT_LOADABLE) |
422 (FONT_ENTITY_SET_NOT_LOADABLE): New macros. | 417 (FONT_ENTITY_SET_NOT_LOADABLE): New macros. |
423 (LGSTRING_XXXX, LGLYPH_XXX): Adjusted for the change of lispy | 418 (LGSTRING_XXXX, LGLYPH_XXX): Adjust for the change of lispy gstring. |
424 gstring. | |
425 (struct font_driver): New member shape. | 419 (struct font_driver): New member shape. |
426 (font_registry_charsets): Extern. it. | 420 (font_registry_charsets): Extern. it. |
427 (font_find_for_lface): Prototype adjusted. | 421 (font_find_for_lface): Prototype adjusted. |
428 (font_prepare_composition): Likewise. | 422 (font_prepare_composition): Likewise. |
429 (font_otf_capability, font_drive_otf): Delete their externs. | 423 (font_otf_capability, font_drive_otf): Delete their externs. |
430 | 424 |
431 * font.c [HAVE_M17N_FLT]: Include <m17n-flt.h>. | 425 * font.c [HAVE_M17N_FLT]: Include <m17n-flt.h>. |
432 (font_charset_alist): Moved from xfont.c and renamed. | 426 (font_charset_alist): Move from xfont.c and renamed. |
433 (font_registry_charsets): Likewise. | 427 (font_registry_charsets): Likewise. |
434 (font_prop_validate_otf): New function. | 428 (font_prop_validate_otf): New function. |
435 (font_property_table): Register it for QCotf. | 429 (font_property_table): Register it for QCotf. |
436 (DEVICE_DELTA, adjust_anchor, REPLACEMENT_CHARACTER) | 430 (DEVICE_DELTA, adjust_anchor, REPLACEMENT_CHARACTER) |
437 (font_drive_otf): Deleted. | 431 (font_drive_otf): Delete. |
438 (font_prepare_composition): New arg F. Adjusted for the change of | 432 (font_prepare_composition): New arg F. Adjusted for the change of |
439 lispy gstring. | 433 lispy gstring. |
440 (font_find_for_lface): New arg C. | 434 (font_find_for_lface): New arg C. |
441 (font_load_for_face): Adjusted for the change of | 435 (font_load_for_face): Adjust for the change of font_find_for_lface. |
442 font_find_for_lface. | 436 (Ffont_make_gstring): Adjust for the change of lispy gstring. |
443 (Ffont_make_gstring): Adjusted for the change of lispy gstring. | |
444 (Ffont_fill_gstring): Likewise. | 437 (Ffont_fill_gstring): Likewise. |
445 (Ffont_shape_text): New function. | 438 (Ffont_shape_text): New function. |
446 (Fopen_font): If the font size is not given, use 12-pixel. | 439 (Fopen_font): If the font size is not given, use 12-pixel. |
447 (Ffont_at): New arg STRING. | 440 (Ffont_at): New arg STRING. |
448 (syms_of_font): Initalize font_charset_alist. Declare | 441 (syms_of_font): Initalize font_charset_alist. |
449 Ffont_shape_text as a Lisp function. Call syms_of_XXfont | 442 Declare Ffont_shape_text as a Lisp function. Call syms_of_XXfont |
450 conditionally. | 443 conditionally. |
451 | 444 |
452 * fontset.c (fontset_find_font) [USE_FONT_BACKEND]: Try multiple | 445 * fontset.c (fontset_find_font) [USE_FONT_BACKEND]: Try multiple |
453 fonts of the same font-spec. Change the format of RFONT-DEF. | 446 fonts of the same font-spec. Change the format of RFONT-DEF. |
454 (face_for_char): Adjusted for the change of RFONT-DEF. | 447 (face_for_char): Adjust for the change of RFONT-DEF. |
455 (make_fontset_for_ascii_face): Likewise. | 448 (make_fontset_for_ascii_face): Likewise. |
456 (Finternal_char_font): Likewise. | 449 (Finternal_char_font): Likewise. |
457 (Fset_fontset_font) [USE_FONT_BACKEND]: Handle new format of | 450 (Fset_fontset_font) [USE_FONT_BACKEND]: Handle new format of font-spec. |
458 font-spec. | |
459 | 451 |
460 * ftfont.h: New file. | 452 * ftfont.h: New file. |
461 | 453 |
462 * ftfont.c: Don't include Freetype headers. Include "ftfont.h". | 454 * ftfont.c: Don't include Freetype headers. Include "ftfont.h". |
463 (struct ftfont_info) [HAVE_LIBOTF]: New members maybe_otf and otf. | 455 (struct ftfont_info) [HAVE_LIBOTF]: New members maybe_otf and otf. |
464 (ftfont_open) [HAVE_LIBOTF]: Initialize the above members. | 456 (ftfont_open) [HAVE_LIBOTF]: Initialize the above members. |
465 (ftfont_driver) [HAVE_LIBOTF, HAVE_M17N_FLT]: Don't set | 457 (ftfont_driver) [HAVE_LIBOTF, HAVE_M17N_FLT]: Don't set |
466 font_otf_capability and font_drive_otf, set ftfont_shape. | 458 font_otf_capability and font_drive_otf, set ftfont_shape. |
467 (ftfont_list): Adjusted for the change of :otf property value. | 459 (ftfont_list): Adjust for the change of :otf property value. |
468 (struct MFLTFontFT) [HAVE_LIBOTF, HAVE_M17N_FLT]: New struct. | 460 (struct MFLTFontFT) [HAVE_LIBOTF, HAVE_M17N_FLT]: New struct. |
469 (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_check_otf) | 461 (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_check_otf) |
470 (adjust_anchor, ftfont_drive_otf, ftfont_shape_by_flt) | 462 (adjust_anchor, ftfont_drive_otf, ftfont_shape_by_flt) |
471 (ftfont_shape) [HAVE_LIBOTF, HAVE_M17N_FLT]: New function.s | 463 (ftfont_shape) [HAVE_LIBOTF, HAVE_M17N_FLT]: New function.s |
472 (DEVICE_DELTA) [HAVE_LIBOTF, HAVE_M17N_FLT]: New macro. | 464 (DEVICE_DELTA) [HAVE_LIBOTF, HAVE_M17N_FLT]: New macro. |
473 (otf_gstring, gstring, m17n_flt_initialized): New variables. | 465 (otf_gstring, gstring, m17n_flt_initialized): New variables. |
474 | 466 |
475 * w32term.c (x_draw_composite_glyph_string_foreground): Adjusted | 467 * w32term.c (x_draw_composite_glyph_string_foreground): |
476 for the change of lispy gstring. | 468 Adjust for the change of lispy gstring. |
477 | 469 |
478 * xdisp.c (handle_composition_prop): Adjusted for the change of | 470 * xdisp.c (handle_composition_prop): Adjust for the change of |
479 lispy gstring. Call a function for auto-composition with the | 471 lispy gstring. Call a function for auto-composition with the |
480 third arg it->window. | 472 third arg it->window. |
481 (fill_composite_glyph_string): Adjusted for the change of lispy | 473 (fill_composite_glyph_string): Adjust for the change of lispy string. |
482 string. | 474 (x_produce_glyphs): Adjust for the change of font_prepare_compositionl. |
483 (x_produce_glyphs): Adjusted for the change of | 475 |
484 font_prepare_compositionl. | 476 * xfaces.c (set_font_frame_param): Adjust for the change of |
485 | |
486 * xfaces.c (set_font_frame_param): Adjusted for the change of | |
487 font_find_for_lface. | 477 font_find_for_lface. |
488 | 478 |
489 * xfont.c (x_font_charset_alist): Moved to font.c and renamed. | 479 * xfont.c (x_font_charset_alist): Move to font.c and renamed. |
490 (xfont_registry_charsets): Likewise. Caller changed. | 480 (xfont_registry_charsets): Likewise. Caller changed. |
491 (syms_of_xfont): Don't handle x_font_charset_alist. | 481 (syms_of_xfont): Don't handle x_font_charset_alist. |
492 | 482 |
493 * xftfont.c: Include "ftfont.h". | 483 * xftfont.c: Include "ftfont.h". |
494 (struct xftfont_info) [HAVE_LIBOTF]: New members maybe_otf and | 484 (struct xftfont_info) [HAVE_LIBOTF]: New members maybe_otf and otf. |
495 otf. | |
496 (xftfont_open) [HAVE_LIBOTF]: Initialize the above members. | 485 (xftfont_open) [HAVE_LIBOTF]: Initialize the above members. |
497 (xftfont_close) [HAVE_LIBOTF]: Close otf. | 486 (xftfont_close) [HAVE_LIBOTF]: Close otf. |
498 (xftfont_shape) [HAVE_LIBOTF, HAVE_M17N_FLT]: New function. | 487 (xftfont_shape) [HAVE_LIBOTF, HAVE_M17N_FLT]: New function. |
499 (syms_of_xftfont) [HAVE_LIBOTF, HAVE_M17N_FLT]: Set | 488 (syms_of_xftfont) [HAVE_LIBOTF, HAVE_M17N_FLT]: |
500 xftfont_driver.shape to xftfont_shape. | 489 Set xftfont_driver.shape to xftfont_shape. |
501 | 490 |
502 * xterm.c (x_draw_composite_glyph_string_foreground): Adjusted for | 491 * xterm.c (x_draw_composite_glyph_string_foreground): Adjust for |
503 the change of lispy gstring. | 492 the change of lispy gstring. |
504 | 493 |
505 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 494 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
506 | 495 |
507 * ftxfont.c (ftxfont_end_for_frame): Fix array indexing error. | 496 * ftxfont.c (ftxfont_end_for_frame): Fix array indexing error. |
515 * font.c (Qfontp): Remove unused symbol. | 504 * font.c (Qfontp): Remove unused symbol. |
516 (QCantialias): New symbol. | 505 (QCantialias): New symbol. |
517 (syms_of_font): Define it. | 506 (syms_of_font): Define it. |
518 (font_property_table): Set a validator for QCantialias. | 507 (font_property_table): Set a validator for QCantialias. |
519 | 508 |
520 * w32font.c (CLEARTYPE_QUALITY, CLEARTYPE_NATURAL_QUALITY): Define | 509 * w32font.c (CLEARTYPE_QUALITY, CLEARTYPE_NATURAL_QUALITY): |
521 if not already. | 510 Define if not already. |
522 (QCfamily): Share with xfaces.c. | 511 (QCfamily): Share with xfaces.c. |
523 (Qstandard, Qsubpixel, Qnatural): New symbols. | 512 (Qstandard, Qsubpixel, Qnatural): New symbols. |
524 (syms_of_w32font): Define them. Don't define QCfamily here. | 513 (syms_of_w32font): Define them. Don't define QCfamily here. |
525 (w32_antialias_type, lispy_antialias_type): New functions. | 514 (w32_antialias_type, lispy_antialias_type): New functions. |
526 (w32_enumfont_pattern_entity): New arg requested_font. | 515 (w32_enumfont_pattern_entity): New arg requested_font. |
552 | 541 |
553 * frame.c (make_frame): Initialize f->font_data_list to NULL. | 542 * frame.c (make_frame): Initialize f->font_data_list to NULL. |
554 (Fdelete_frame): Call font_update_drivers. | 543 (Fdelete_frame): Call font_update_drivers. |
555 | 544 |
556 * xftfont.c (struct xftface_info): Delete the member xft_draw. | 545 * xftfont.c (struct xftface_info): Delete the member xft_draw. |
557 (xftfont_prepare_face): Adjusted for the above change. | 546 (xftfont_prepare_face): Adjust for the above change. |
558 (xftfont_done_face): Likewise. | 547 (xftfont_done_face): Likewise. |
559 (xftfont_get_xft_draw): New function. | 548 (xftfont_get_xft_draw): New function. |
560 (xftfont_draw): Get XftDraw by xftfont_get_xft_draw. | 549 (xftfont_draw): Get XftDraw by xftfont_get_xft_draw. |
561 (xftfont_end_for_frame): New function. | 550 (xftfont_end_for_frame): New function. |
562 (syms_of_xftfont): Set xftfont_driver.end_for_frame. | 551 (syms_of_xftfont): Set xftfont_driver.end_for_frame. |
563 | 552 |
564 * ftxfont.c (ftxfont_get_gcs): Renamed from ftxfont_create_gcs. | 553 * ftxfont.c (ftxfont_get_gcs): Rename from ftxfont_create_gcs. |
565 Argument changed. Cache GCs in the per-frame data. | 554 Argument changed. Cache GCs in the per-frame data. |
566 (struct ftxfont_frame_data): New struct. | 555 (struct ftxfont_frame_data): New struct. |
567 (ftxfont_draw_bitmap): New arg gc_fore and flush. | 556 (ftxfont_draw_bitmap): New arg gc_fore and flush. |
568 (ftxfont_prepare_face, ftxfont_done_face): Delete them. | 557 (ftxfont_prepare_face, ftxfont_done_face): Delete them. |
569 (ftxfont_draw): Get GCs by ftxfont_get_gcs. Reflect s->clip in | 558 (ftxfont_draw): Get GCs by ftxfont_get_gcs. Reflect s->clip in GCs. |
570 GCs. | |
571 (ftxfont_end_for_frame): New function. | 559 (ftxfont_end_for_frame): New function. |
572 (syms_of_ftxfont): Set ftxfont_driver.end_for_frame. | 560 (syms_of_ftxfont): Set ftxfont_driver.end_for_frame. |
573 | 561 |
574 * ftfont.c (ftfont_get_bitmap): Set bitmap->bits_per_pixel. | 562 * ftfont.c (ftfont_get_bitmap): Set bitmap->bits_per_pixel. |
575 | 563 |
598 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 586 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
599 | 587 |
600 * lread.c (READCHAR): Call readchar with the 2nd arg NULL. | 588 * lread.c (READCHAR): Call readchar with the 2nd arg NULL. |
601 (READCHAR_REPORT_MULTIBYTE): New macro. | 589 (READCHAR_REPORT_MULTIBYTE): New macro. |
602 (readchar): New 2nd arg MULTIBYTE. | 590 (readchar): New 2nd arg MULTIBYTE. |
603 (read1): Use READCHAR_REPORT_MULTIBYTE for the first read. Make | 591 (read1): Use READCHAR_REPORT_MULTIBYTE for the first read. |
604 symbol's name multibyte according to the multibyteness of the | 592 Make symbol's name multibyte according to the multibyteness of the |
605 source. | 593 source. |
606 | 594 |
607 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 595 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
608 | 596 |
609 * xfaces.c (face_for_overlay_string): Call lookup_face with | 597 * xfaces.c (face_for_overlay_string): Call lookup_face with |
610 correct arguments (fix of synching with the trunk). | 598 correct arguments (fix of synching with the trunk). |
611 | 599 |
612 2008-02-01 Kenichi Handa <handa@m17n.org> | 600 2008-02-01 Kenichi Handa <handa@m17n.org> |
613 | 601 |
614 * font.c (font_prop_validate_symbol): The argument prop_index is | 602 * font.c (font_prop_validate_symbol): Delete argument prop_index. |
615 deleted. | |
616 (font_prop_validate_style, font_prop_validate_non_neg) | 603 (font_prop_validate_style, font_prop_validate_non_neg) |
617 (font_prop_validate_spacing): Likewise. | 604 (font_prop_validate_spacing): Likewise. |
618 (font_property_table): Arguments to validater changed. Callers | 605 (font_property_table): Change arguments to validater. Change Callers. |
619 changed. | 606 (font_lispy_object): Delete. |
620 (font_lispy_object): Deleted. | |
621 (font_at): Use font_find_object instead fo font_lispy_object. | 607 (font_at): Use font_find_object instead fo font_lispy_object. |
622 | 608 |
623 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | 609 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
624 | 610 |
625 * fileio.c (Fexpand_file_name): Adjust multibyteness of directory | 611 * fileio.c (Fexpand_file_name): Adjust multibyteness of directory |