mirror of https://github.com/vitalif/phantomjs
Select monospace font family properly.
CSS style "font-family: monospace" should select monospace font. https://github.com/ariya/phantomjs/issues/117641.x
parent
4ca640c5e7
commit
f4128d7ede
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue