From: Jan Djärv Date: Tue, 22 Jun 2010 06:42:00 +0000 (+0200) Subject: * font.c (font_parse_fcname): Allow . for sizes like 7.5 (bug#6437). X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~51^2~132 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=32a679fd52520b7003c745548ce484a00a1ec5eb;p=emacs.git * font.c (font_parse_fcname): Allow . for sizes like 7.5 (bug#6437). --- diff --git a/src/ChangeLog b/src/ChangeLog index 7405d92e0e6..121d06577b0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-06-22 Keith Packard (tiny change) + + * font.c (font_parse_fcname): Allow . for sizes like 7.5 (bug#6437). + 2010-06-20 Eli Zaretskii * xdisp.c (try_scrolling): When scroll-conservatively is set to diff --git a/src/font.c b/src/font.c index e07dbc5dd16..f9c2381fa70 100644 --- a/src/font.c +++ b/src/font.c @@ -1544,7 +1544,7 @@ font_parse_fcname (name, font) int size_found = 1; for (q = p + 1; *q && *q != ' '; q++) - if (! isdigit (*q)) + if (! isdigit (*q) && *q != '.') { size_found = 0; break;