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
f73891b0
Commit
f73891b0
authored
Oct 27, 2006
by
Kenichi Handa
Browse files
(font_unparse_fcname): Pay attention to the case that
some of font property is a null string.
parent
af7e13bd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/font.c
src/font.c
+1
-1
No files found.
src/font.c
View file @
f73891b0
...
...
@@ -1324,7 +1324,7 @@ font_unparse_fcname (font, pixel_size, name, nbytes)
p
+=
sprintf
(
p
,
":foundry=%s"
,
SDATA
(
SYMBOL_NAME
(
AREF
(
font
,
FONT_FOUNDRY_INDEX
))));
for
(
i
=
0
;
i
<
3
;
i
++
)
if
(
!
NILP
(
styles
[
i
]))
if
(
SYMBOLP
(
styles
[
i
])
&&
!
NILP
(
styles
[
i
]))
p
+=
sprintf
(
p
,
":%s=%s"
,
style_names
[
i
],
SDATA
(
SYMBOL_NAME
(
styles
[
i
])));
if
(
dpi
>=
0
)
...
...
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