Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b57d9029
Commit
b57d9029
authored
Jan 31, 2010
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
font.c (font_parse_xlfd): If FONT is a font-entity and pixel size in NAME is invalid, return -1.
parent
8fab2362
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
src/ChangeLog
src/ChangeLog
+5
-0
src/font.c
src/font.c
+2
-0
No files found.
src/ChangeLog
View file @
b57d9029
2010-01-31 Kenichi Handa <handa@m17n.org>
* font.c (font_parse_xlfd): If FONT is a font-entity and pixel
size in NAME is invalid, return -1.
2010-01-31 David De La Harpe Golden <david@harpegolden.net>
* fileio.c (Frename_file): Correctly rename symlinks to
...
...
src/font.c
View file @
b57d9029
...
...
@@ -1122,6 +1122,8 @@ font_parse_xlfd (name, font)
val = INTERN_FIELD (XLFD_PIXEL_INDEX);
if (INTEGERP (val))
ASET (font, FONT_SIZE_INDEX, val);
else if (FONT_ENTITY_P (font))
return -1;
else
{
double point_size = -1;
...
...
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