aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2008-06-18 08:33:16 +0000
committerJason Rumney2008-06-18 08:33:16 +0000
commit07d9ba9bd85ff016661a3b4571a949f8cf2655a1 (patch)
tree056da296f07b8b56c7868ae82063f23a4b0fc7c5 /src
parenta56fc14570bc41e0addb2b90edc00a8cd6aef7aa (diff)
downloademacs-07d9ba9bd85ff016661a3b4571a949f8cf2655a1.tar.gz
emacs-07d9ba9bd85ff016661a3b4571a949f8cf2655a1.zip
Add font logging to list and match functions.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/w32font.c8
-rw-r--r--src/w32uniscribe.c8
3 files changed, 18 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2e002b65d73..7b14e5eeffa 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12008-06-18 Jason Rumney <jasonr@gnu.org>
2
3 * w32font.c (w32font_list, w32font_match): Add logging.
4
5 * w32uniscribe (uniscribe_list, uniscribe_match): Add logging.
6
12008-06-17 Chong Yidong <cyd@stupidchicken.com> 72008-06-17 Chong Yidong <cyd@stupidchicken.com>
2 8
3 * font.c (font_parse_fcname): Store divider characters for 9 * font.c (font_parse_fcname): Store divider characters for
diff --git a/src/w32font.c b/src/w32font.c
index 9e4bb494e70..0dc18674aa0 100644
--- a/src/w32font.c
+++ b/src/w32font.c
@@ -162,7 +162,9 @@ static Lisp_Object
162w32font_list (frame, font_spec) 162w32font_list (frame, font_spec)
163 Lisp_Object frame, font_spec; 163 Lisp_Object frame, font_spec;
164{ 164{
165 return w32font_list_internal (frame, font_spec, 0); 165 Lisp_Object fonts = w32font_list_internal (frame, font_spec, 0);
166 font_add_log ("w32font-list", font_spec, fonts);
167 return fonts;
166} 168}
167 169
168/* w32 implementation of match for font backend. 170/* w32 implementation of match for font backend.
@@ -173,7 +175,9 @@ static Lisp_Object
173w32font_match (frame, font_spec) 175w32font_match (frame, font_spec)
174 Lisp_Object frame, font_spec; 176 Lisp_Object frame, font_spec;
175{ 177{
176 return w32font_match_internal (frame, font_spec, 0); 178 Lisp_Object entity = w32font_match_internal (frame, font_spec, 0);
179 font_add_log ("w32font-match", font_spec, entity);
180 return entity;
177} 181}
178 182
179/* w32 implementation of list_family for font backend. 183/* w32 implementation of list_family for font backend.
diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c
index 2abd742e8d5..bd201739f51 100644
--- a/src/w32uniscribe.c
+++ b/src/w32uniscribe.c
@@ -76,14 +76,18 @@ static Lisp_Object
76uniscribe_list (frame, font_spec) 76uniscribe_list (frame, font_spec)
77 Lisp_Object frame, font_spec; 77 Lisp_Object frame, font_spec;
78{ 78{
79 return w32font_list_internal (frame, font_spec, 1); 79 Lisp_Object fonts = w32font_list_internal (frame, font_spec, 1);
80 font_add_log ("uniscribe-list", font_spec, fonts);
81 return fonts;
80} 82}
81 83
82static Lisp_Object 84static Lisp_Object
83uniscribe_match (frame, font_spec) 85uniscribe_match (frame, font_spec)
84 Lisp_Object frame, font_spec; 86 Lisp_Object frame, font_spec;
85{ 87{
86 return w32font_match_internal (frame, font_spec, 1); 88 Lisp_Object entity = w32font_match_internal (frame, font_spec, 1);
89 font_add_log ("uniscribe-match", font_spec, entity);
90 return entity;
87} 91}
88 92
89static Lisp_Object 93static Lisp_Object