diff options
| author | Stefan Monnier | 2008-02-06 03:10:25 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-02-06 03:10:25 +0000 |
| commit | 15139d67db4a4b7cfd38bc4b2f20ae2b83b7176e (patch) | |
| tree | 442472039b96d5b7b234917c24fa9ac051053708 /src | |
| parent | c62c8ddbb559e6702bc05516a12fc70425b61665 (diff) | |
| download | emacs-15139d67db4a4b7cfd38bc4b2f20ae2b83b7176e.tar.gz emacs-15139d67db4a4b7cfd38bc4b2f20ae2b83b7176e.zip | |
(Fcompose_region_internal, Fcompose_string_internal): Declare.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 136 | ||||
| -rw-r--r-- | src/composite.h | 3 |
2 files changed, 64 insertions, 75 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 586bf4a1171..b677822a065 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * composite.h (Fcompose_region_internal, Fcompose_string_internal): | ||
| 4 | Declare. | ||
| 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> |
| @@ -21,8 +24,7 @@ | |||
| 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 | ||
| @@ -79,7 +81,7 @@ | |||
| 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 | ||
| @@ -100,12 +102,12 @@ | |||
| 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 | ||
| @@ -168,8 +170,7 @@ | |||
| 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 | ||
| @@ -182,8 +183,7 @@ | |||
| 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. |
| @@ -202,8 +202,7 @@ | |||
| 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. |
| @@ -235,8 +234,8 @@ | |||
| 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. |
| @@ -248,13 +247,11 @@ | |||
| 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 | ||
| @@ -263,20 +260,20 @@ | |||
| 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. |
| @@ -346,8 +343,7 @@ | |||
| 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 | ||
| @@ -356,23 +352,23 @@ | |||
| 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 | ||
| @@ -384,8 +380,7 @@ | |||
| 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 |
| @@ -420,8 +415,7 @@ | |||
| 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. |
| @@ -429,33 +423,31 @@ | |||
| 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 | ||
| @@ -464,7 +456,7 @@ | |||
| 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) |
| @@ -472,34 +464,31 @@ | |||
| 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 | ||
| 484 | font_prepare_compositionl. | ||
| 485 | 475 | ||
| 486 | * xfaces.c (set_font_frame_param): Adjusted for the change of | 476 | * xfaces.c (set_font_frame_param): Adjust 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> |
| @@ -517,8 +506,8 @@ third arg it->window. | |||
| 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. |
| @@ -554,20 +543,19 @@ third arg it->window. | |||
| 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 | ||
| @@ -600,8 +588,8 @@ third arg it->window. | |||
| 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> |
| @@ -611,13 +599,11 @@ third arg it->window. | |||
| 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> |
diff --git a/src/composite.h b/src/composite.h index 786b4a348b1..95f2fc1afb2 100644 --- a/src/composite.h +++ b/src/composite.h | |||
| @@ -230,6 +230,9 @@ extern void syms_of_composite P_ ((void)); | |||
| 230 | extern void compose_text P_ ((int, int, Lisp_Object, Lisp_Object, | 230 | extern void compose_text P_ ((int, int, Lisp_Object, Lisp_Object, |
| 231 | Lisp_Object)); | 231 | Lisp_Object)); |
| 232 | 232 | ||
| 233 | EXFUN (Fcompose_region_internal, 4); | ||
| 234 | EXFUN (Fcompose_string_internal, 5); | ||
| 235 | |||
| 233 | #endif /* not EMACS_COMPOSITE_H */ | 236 | #endif /* not EMACS_COMPOSITE_H */ |
| 234 | 237 | ||
| 235 | /* arch-tag: 59524d89-c645-47bd-b5e6-65e861690118 | 238 | /* arch-tag: 59524d89-c645-47bd-b5e6-65e861690118 |