[WebKit-devel] playground/libs/webkitkde/kdewebkit/settings

Urs Wolfer uwolfer at kde.org
Sat Mar 14 23:05:41 CET 2009


Where do those hardcoded numbers come from? Please also add a comment in the 
code about that.

On Saturday 14 March 2009 21:15:10 Michael David Howell wrote:
> SVN commit 939411 by michaelhowell:
>
> Fix font sizes.
> y
>
>
>  M  +2 -2      webkitsettings.cpp
>
>
> --- trunk/playground/libs/webkitkde/kdewebkit/settings/webkitsettings.cpp
> #939410:939411 @@ -653,8 +653,8 @@
>   
> QWebSettings::globalSettings()->setFontFamily(QWebSettings::SansSerifFont,
> sansSerifFontName());
> QWebSettings::globalSettings()->setFontFamily(QWebSettings::CursiveFont,
> cursiveFontName());
> QWebSettings::globalSettings()->setFontFamily(QWebSettings::FantasyFont,
> fantasyFontName()); - 
> QWebSettings::globalSettings()->setFontSize(QWebSettings::MinimumFontSize,
> minFontSize()); - 
> QWebSettings::globalSettings()->setFontSize(QWebSettings::DefaultFontSize,
> mediumFontSize()); + 
> QWebSettings::globalSettings()->setFontSize(QWebSettings::MinimumFontSize,
> minFontSize() * 1.45); + 
> QWebSettings::globalSettings()->setFontSize(QWebSettings::DefaultFontSize,
> mediumFontSize() * 1.45); }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/webkit-devel/attachments/20090314/216ae10c/attachment.sig 


More information about the WebKit-devel mailing list