Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
5.0.2
-
Reproduced in openSUSE 12.3 and Ubuntu 12.10. Also reproduced with 5.1 alpha.
Description
The CSS font-family style apparently has no effect when using Qt5's WebKit widgets. It is always the default serif font, even if you set eg Sans Serif. I also tried with url('qrc:/path/to/font') and it didn't work either.
This app demonstrates the problem https://bitbucket.org/imonroe/fontsizesync.git on tag fontfamilyissue. The same code doesn't have this issue in Qt 4.
Workaround: use QWebSettings. It respects this setting.