Select monospace font family properly.

CSS style "font-family: monospace" should select monospace font.

https://github.com/ariya/phantomjs/issues/11764
1.x
Oleg Plakhotniuk 2013-11-19 01:26:28 -06:00 committed by Ariya Hidayat
parent 4ca640c5e7
commit f4128d7ede
1 changed files with 1 additions and 0 deletions

View File

@ -286,6 +286,7 @@ static const char *getFcFamilyForStyleHint(const QFont::StyleHint style)
stylehint = "serif";
break;
case QFont::TypeWriter:
case QFont::Monospace:
stylehint = "monospace";
break;
default: