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
4ed28cf4
Commit
4ed28cf4
authored
Feb 26, 2010
by
Chong Yidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Addendum to last patch: add "Medium" GTK font name keyword.
parent
fe69a722
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
src/ChangeLog
src/ChangeLog
+2
-2
src/font.c
src/font.c
+6
-0
No files found.
src/ChangeLog
View file @
4ed28cf4
2010-02-27 Chong Yidong <cyd@stupidchicken.com>
* font.c (font_parse_fcname): Recognize "Book", "Condensed",
and
"Semi-Condensed" keywords in GTK names (Bug#5646).
* font.c (font_parse_fcname): Recognize "Book", "Condensed",
"Medium", and
"Semi-Condensed" keywords in GTK names (Bug#5646).
2010-02-26 Kenichi Handa <handa@m17n.org>
...
...
src/font.c
View file @
4ed28cf4
...
...
@@ -1582,6 +1582,12 @@ font_parse_fcname (name, font)
prop = font_intern_prop ("book", 4, 1);
FONT_SET_STYLE (font, FONT_WEIGHT_INDEX, prop);
}
else if (PROP_MATCH ("Medium", 6))
{
prop_found = 1;
prop = font_intern_prop ("medium", 6, 1);
FONT_SET_STYLE (font, FONT_WEIGHT_INDEX, prop);
}
else if (PROP_MATCH ("Semi-Bold", 9))
{
prop_found = 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