]> git.eshelyaron.com Git - emacs.git/commitdiff
* font.c (font_parse_fcname): Allow . for sizes like 7.5 (bug#6437).
authorJan Djärv <jan.h.d@swipnet.se>
Tue, 22 Jun 2010 06:42:00 +0000 (08:42 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Tue, 22 Jun 2010 06:42:00 +0000 (08:42 +0200)
src/ChangeLog
src/font.c

index 7405d92e0e68a2473518ec55dbeea53c4defd46e..121d06577b0270668dd4c11283f0746bd576e592 100644 (file)
@@ -1,3 +1,7 @@
+2010-06-22  Keith Packard <keithp@keithp.com> (tiny change)
+
+       * font.c (font_parse_fcname): Allow . for sizes like 7.5 (bug#6437).
+
 2010-06-20  Eli Zaretskii  <eliz@gnu.org>
 
        * xdisp.c (try_scrolling): When scroll-conservatively is set to
index e07dbc5dd166aa7329d4dedd5109ac51ec201616..f9c2381fa704ae99b09782d735cea21b14d7a25e 100644 (file)
@@ -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;