[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r99567: Addendum to last patch: add "
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r99567: Addendum to last patch: add "Medium" GTK font name keyword. |
Date: |
Fri, 26 Feb 2010 21:09:03 -0500 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 99567
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Fri 2010-02-26 21:09:03 -0500
message:
Addendum to last patch: add "Medium" GTK font name keyword.
modified:
src/ChangeLog
src/font.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2010-02-27 02:06:13 +0000
+++ b/src/ChangeLog 2010-02-27 02:09:03 +0000
@@ -1,7 +1,7 @@
2010-02-27 Chong Yidong <address@hidden>
- * 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 <address@hidden>
=== modified file 'src/font.c'
--- a/src/font.c 2010-02-27 02:06:13 +0000
+++ b/src/font.c 2010-02-27 02:09:03 +0000
@@ -1582,6 +1582,12 @@
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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r99567: Addendum to last patch: add "Medium" GTK font name keyword.,
Chong Yidong <=