Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
07d9ba9b
Commit
07d9ba9b
authored
Jun 18, 2008
by
Jason Rumney
Browse files
Add font logging to list and match functions.
parent
a56fc145
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
4 deletions
+18
-4
src/ChangeLog
src/ChangeLog
+6
-0
src/w32font.c
src/w32font.c
+6
-2
src/w32uniscribe.c
src/w32uniscribe.c
+6
-2
No files found.
src/ChangeLog
View file @
07d9ba9b
2008-06-18 Jason Rumney <jasonr@gnu.org>
* w32font.c (w32font_list, w32font_match): Add logging.
* w32uniscribe (uniscribe_list, uniscribe_match): Add logging.
2008-06-17 Chong Yidong <cyd@stupidchicken.com>
* font.c (font_parse_fcname): Store divider characters for
...
...
src/w32font.c
View file @
07d9ba9b
...
...
@@ -162,7 +162,9 @@ static Lisp_Object
w32font_list
(
frame
,
font_spec
)
Lisp_Object
frame
,
font_spec
;
{
return
w32font_list_internal
(
frame
,
font_spec
,
0
);
Lisp_Object
fonts
=
w32font_list_internal
(
frame
,
font_spec
,
0
);
font_add_log
(
"w32font-list"
,
font_spec
,
fonts
);
return
fonts
;
}
/* w32 implementation of match for font backend.
...
...
@@ -173,7 +175,9 @@ static Lisp_Object
w32font_match
(
frame
,
font_spec
)
Lisp_Object
frame
,
font_spec
;
{
return
w32font_match_internal
(
frame
,
font_spec
,
0
);
Lisp_Object
entity
=
w32font_match_internal
(
frame
,
font_spec
,
0
);
font_add_log
(
"w32font-match"
,
font_spec
,
entity
);
return
entity
;
}
/* w32 implementation of list_family for font backend.
...
...
src/w32uniscribe.c
View file @
07d9ba9b
...
...
@@ -76,14 +76,18 @@ static Lisp_Object
uniscribe_list
(
frame
,
font_spec
)
Lisp_Object
frame
,
font_spec
;
{
return
w32font_list_internal
(
frame
,
font_spec
,
1
);
Lisp_Object
fonts
=
w32font_list_internal
(
frame
,
font_spec
,
1
);
font_add_log
(
"uniscribe-list"
,
font_spec
,
fonts
);
return
fonts
;
}
static
Lisp_Object
uniscribe_match
(
frame
,
font_spec
)
Lisp_Object
frame
,
font_spec
;
{
return
w32font_match_internal
(
frame
,
font_spec
,
1
);
Lisp_Object
entity
=
w32font_match_internal
(
frame
,
font_spec
,
1
);
font_add_log
(
"uniscribe-match"
,
font_spec
,
entity
);
return
entity
;
}
static
Lisp_Object
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment