Allow font names that end in "-NN", where NN is a number
commitea60b543f6829061b751a0a1c60309bcfe2ff7a7
authorEli Zaretskii <eliz@gnu.org>
Mon, 29 Jun 2015 16:10:20 +0000 (29 19:10 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 29 Jun 2015 16:10:20 +0000 (29 19:10 +0300)
tree32f94c7ec2c82f9a1c35465e21f291ccbc8eb486
parent64110eb14d33d078c8fe6d496a780e46a0019b36
Allow font names that end in "-NN", where NN is a number

* src/font.c (font_load_for_lface): If the font-spec didn't match
any available fonts, try again without interpreting trailing "-NN"
as the font size.  For the description of the original problem, see
http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html
src/font.c