[Qt-interest] Fonts in QWebKit [SOLVED]

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Wed Oct 13 14:43:16 CEST 2010


On 2010-10-13 Eirik Eirik Ulvik wrote:

>   This problem seems to be releated to
> http://bugreports.qt.nokia.com/browse/QTBUG-12611 somehow. ...
> This caused text to be rendered with the Arial font. Removing the
> sans-serif at the end yields the expected result, ie. Calibri is used.
> 
> Do no know if I should open a separate bug report. The above one seems
> to be related to S60 development.

Well, from what I take from QTBUG-12611 is that it is about how the generic sans-serif is mapped (to "Arial" vs some "Nokia Sans S60"/"Series 60 Sans"). So this bug is about to which font 'sans-serif' should be mapped.

In your case however it is about the *order*: sans-serif seems to wrongly take precedence, even though it is the last in the CSS font list!

So I would open a new bug, together with a small HTML/CSS example which reproduces this behaviour ;)

Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22





More information about the Qt-interest-old mailing list