Commit 4ed28cf4 authored by Chong Yidong's avatar Chong Yidong

Addendum to last patch: add "Medium" GTK font name keyword.

parent fe69a722
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>
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment