[Webkit-unassigned] [Bug 114618] Monospace fonts are not working in QtWebKit 2.3.0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 18 09:27:39 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=114618





--- Comment #6 from Dmitry Shachnev <mitya57 at ubuntu.com>  2013-04-18 09:25:57 PST ---
Probably this should fix the issue:

--- a/src/plugins/platforms/fontdatabases/fontconfig/qfontconfigdatabase.cpp
+++ b/src/plugins/platforms/fontdatabases/fontconfig/qfontconfigdatabase.cpp
@@ -285,6 +285,7 @@ static const char *getFcFamilyForStyleHint(const QFont::StyleHint style)
         stylehint = "serif";
         break;
     case QFont::TypeWriter:
+    case QFont::Monospace:
         stylehint = "monospace";
         break;
     default:

Not tested yet, will test and submit to codereview later.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list