diff options
| author | Kenichi Handa | 2009-06-23 05:51:00 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2009-06-23 05:51:00 +0000 |
| commit | 678dca3ddb168373ce2092be9c9824ad1cdff29c (patch) | |
| tree | 5379c8497ece6c9c456bdd0b37e2d9e3a13ac941 /src | |
| parent | f5a0b281610959910f8df75ae57b23d374f3730f (diff) | |
| download | emacs-678dca3ddb168373ce2092be9c9824ad1cdff29c.tar.gz emacs-678dca3ddb168373ce2092be9c9824ad1cdff29c.zip | |
Change font_add_log to FONT_ADD_LOG.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 14 | ||||
| -rw-r--r-- | src/ftfont.c | 4 | ||||
| -rw-r--r-- | src/w32font.c | 4 | ||||
| -rw-r--r-- | src/w32uniscribe.c | 4 | ||||
| -rw-r--r-- | src/xfont.c | 12 |
5 files changed, 26 insertions, 12 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 580a6b0c0c6..ccef6a0f450 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2009-06-23 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * ftfont.c: Change font_add_log to FONT_ADD_LOG. | ||
| 4 | |||
| 5 | * w32font.c: Change font_add_log to FONT_ADD_LOG. | ||
| 6 | |||
| 7 | * w32uniscribe.c: Change font_add_log to FONT_ADD_LOG. | ||
| 8 | |||
| 9 | * xfont.c: Change font_add_log to FONT_ADD_LOG. | ||
| 10 | |||
| 11 | * fontset.c (fontset_font): Call FONT_DEFERRED_LOG. | ||
| 12 | (face_for_char): Don't call font_deferred_log here. | ||
| 13 | (font_for_char): Likewise. | ||
| 14 | |||
| 1 | 2009-06-22 Chong Yidong <cyd@stupidchicken.com> | 15 | 2009-06-22 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 16 | ||
| 3 | * w32term.c (x_draw_glyph_string): Use the glyph string's width | 17 | * w32term.c (x_draw_glyph_string): Use the glyph string's width |
diff --git a/src/ftfont.c b/src/ftfont.c index 7dcdee61ab4..695579a05f8 100644 --- a/src/ftfont.c +++ b/src/ftfont.c | |||
| @@ -1046,7 +1046,7 @@ ftfont_list (frame, spec) | |||
| 1046 | val = Qnil; | 1046 | val = Qnil; |
| 1047 | 1047 | ||
| 1048 | finish: | 1048 | finish: |
| 1049 | font_add_log ("ftfont-list", spec, val); | 1049 | FONT_ADD_LOG ("ftfont-list", spec, val); |
| 1050 | if (objset) FcObjectSetDestroy (objset); | 1050 | if (objset) FcObjectSetDestroy (objset); |
| 1051 | if (fontset) FcFontSetDestroy (fontset); | 1051 | if (fontset) FcFontSetDestroy (fontset); |
| 1052 | if (pattern) FcPatternDestroy (pattern); | 1052 | if (pattern) FcPatternDestroy (pattern); |
| @@ -1099,7 +1099,7 @@ ftfont_match (frame, spec) | |||
| 1099 | } | 1099 | } |
| 1100 | FcPatternDestroy (pattern); | 1100 | FcPatternDestroy (pattern); |
| 1101 | 1101 | ||
| 1102 | font_add_log ("ftfont-match", spec, entity); | 1102 | FONT_ADD_LOG ("ftfont-match", spec, entity); |
| 1103 | return entity; | 1103 | return entity; |
| 1104 | } | 1104 | } |
| 1105 | 1105 | ||
diff --git a/src/w32font.c b/src/w32font.c index 7d9db3a6cd6..4148e87c373 100644 --- a/src/w32font.c +++ b/src/w32font.c | |||
| @@ -201,7 +201,7 @@ w32font_list (frame, font_spec) | |||
| 201 | Lisp_Object frame, font_spec; | 201 | Lisp_Object frame, font_spec; |
| 202 | { | 202 | { |
| 203 | Lisp_Object fonts = w32font_list_internal (frame, font_spec, 0); | 203 | Lisp_Object fonts = w32font_list_internal (frame, font_spec, 0); |
| 204 | font_add_log ("w32font-list", font_spec, fonts); | 204 | FONT_ADD_LOG ("w32font-list", font_spec, fonts); |
| 205 | return fonts; | 205 | return fonts; |
| 206 | } | 206 | } |
| 207 | 207 | ||
| @@ -214,7 +214,7 @@ w32font_match (frame, font_spec) | |||
| 214 | Lisp_Object frame, font_spec; | 214 | Lisp_Object frame, font_spec; |
| 215 | { | 215 | { |
| 216 | Lisp_Object entity = w32font_match_internal (frame, font_spec, 0); | 216 | Lisp_Object entity = w32font_match_internal (frame, font_spec, 0); |
| 217 | font_add_log ("w32font-match", font_spec, entity); | 217 | FONT_ADD_LOG ("w32font-match", font_spec, entity); |
| 218 | return entity; | 218 | return entity; |
| 219 | } | 219 | } |
| 220 | 220 | ||
diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c index f865c1abfd0..9e75b671616 100644 --- a/src/w32uniscribe.c +++ b/src/w32uniscribe.c | |||
| @@ -78,7 +78,7 @@ uniscribe_list (frame, font_spec) | |||
| 78 | Lisp_Object frame, font_spec; | 78 | Lisp_Object frame, font_spec; |
| 79 | { | 79 | { |
| 80 | Lisp_Object fonts = w32font_list_internal (frame, font_spec, 1); | 80 | Lisp_Object fonts = w32font_list_internal (frame, font_spec, 1); |
| 81 | font_add_log ("uniscribe-list", font_spec, fonts); | 81 | FONT_ADD_LOG ("uniscribe-list", font_spec, fonts); |
| 82 | return fonts; | 82 | return fonts; |
| 83 | } | 83 | } |
| 84 | 84 | ||
| @@ -87,7 +87,7 @@ uniscribe_match (frame, font_spec) | |||
| 87 | Lisp_Object frame, font_spec; | 87 | Lisp_Object frame, font_spec; |
| 88 | { | 88 | { |
| 89 | Lisp_Object entity = w32font_match_internal (frame, font_spec, 1); | 89 | Lisp_Object entity = w32font_match_internal (frame, font_spec, 1); |
| 90 | font_add_log ("uniscribe-match", font_spec, entity); | 90 | FONT_ADD_LOG ("uniscribe-match", font_spec, entity); |
| 91 | return entity; | 91 | return entity; |
| 92 | } | 92 | } |
| 93 | 93 | ||
diff --git a/src/xfont.c b/src/xfont.c index 35113fdf798..ad12800efb4 100644 --- a/src/xfont.c +++ b/src/xfont.c | |||
| @@ -476,7 +476,7 @@ xfont_list_pattern (Display *display, char *pattern, | |||
| 476 | x_uncatch_errors (); | 476 | x_uncatch_errors (); |
| 477 | UNBLOCK_INPUT; | 477 | UNBLOCK_INPUT; |
| 478 | 478 | ||
| 479 | font_add_log ("xfont-list", build_string (pattern), list); | 479 | FONT_ADD_LOG ("xfont-list", build_string (pattern), list); |
| 480 | return list; | 480 | return list; |
| 481 | } | 481 | } |
| 482 | 482 | ||
| @@ -615,7 +615,7 @@ xfont_match (frame, spec) | |||
| 615 | } | 615 | } |
| 616 | UNBLOCK_INPUT; | 616 | UNBLOCK_INPUT; |
| 617 | 617 | ||
| 618 | font_add_log ("xfont-match", spec, entity); | 618 | FONT_ADD_LOG ("xfont-match", spec, entity); |
| 619 | return entity; | 619 | return entity; |
| 620 | } | 620 | } |
| 621 | 621 | ||
| @@ -701,7 +701,7 @@ xfont_open (f, entity, pixel_size) | |||
| 701 | registry = AREF (entity, FONT_REGISTRY_INDEX); | 701 | registry = AREF (entity, FONT_REGISTRY_INDEX); |
| 702 | if (font_registry_charsets (registry, &encoding, &repertory) < 0) | 702 | if (font_registry_charsets (registry, &encoding, &repertory) < 0) |
| 703 | { | 703 | { |
| 704 | font_add_log (" x:unknown registry", registry, Qnil); | 704 | FONT_ADD_LOG (" x:unknown registry", registry, Qnil); |
| 705 | return Qnil; | 705 | return Qnil; |
| 706 | } | 706 | } |
| 707 | 707 | ||
| @@ -717,7 +717,7 @@ xfont_open (f, entity, pixel_size) | |||
| 717 | len = font_unparse_xlfd (entity, pixel_size, name, 512); | 717 | len = font_unparse_xlfd (entity, pixel_size, name, 512); |
| 718 | if (len <= 0 || (len = xfont_encode_coding_xlfd (name)) < 0) | 718 | if (len <= 0 || (len = xfont_encode_coding_xlfd (name)) < 0) |
| 719 | { | 719 | { |
| 720 | font_add_log (" x:unparse failed", entity, Qnil); | 720 | FONT_ADD_LOG (" x:unparse failed", entity, Qnil); |
| 721 | return Qnil; | 721 | return Qnil; |
| 722 | } | 722 | } |
| 723 | 723 | ||
| @@ -748,7 +748,7 @@ xfont_open (f, entity, pixel_size) | |||
| 748 | len = font_unparse_xlfd (temp, pixel_size, name, 512); | 748 | len = font_unparse_xlfd (temp, pixel_size, name, 512); |
| 749 | if (len <= 0 || (len = xfont_encode_coding_xlfd (name)) < 0) | 749 | if (len <= 0 || (len = xfont_encode_coding_xlfd (name)) < 0) |
| 750 | { | 750 | { |
| 751 | font_add_log (" x:unparse failed", temp, Qnil); | 751 | FONT_ADD_LOG (" x:unparse failed", temp, Qnil); |
| 752 | return Qnil; | 752 | return Qnil; |
| 753 | } | 753 | } |
| 754 | xfont = XLoadQueryFont (display, name); | 754 | xfont = XLoadQueryFont (display, name); |
| @@ -792,7 +792,7 @@ xfont_open (f, entity, pixel_size) | |||
| 792 | 792 | ||
| 793 | if (! xfont) | 793 | if (! xfont) |
| 794 | { | 794 | { |
| 795 | font_add_log (" x:open failed", build_string (name), Qnil); | 795 | FONT_ADD_LOG (" x:open failed", build_string (name), Qnil); |
| 796 | return Qnil; | 796 | return Qnil; |
| 797 | } | 797 | } |
| 798 | 798 | ||