Lars Knoll <lars@trolltech.com>
authorhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Jan 2008 10:03:54 +0000 (10:03 +0000)
committerhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Jan 2008 10:03:54 +0000 (10:03 +0000)
setup a family for cursive and fantasy fonts as well.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29716 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/qt/Api/qwebsettings.cpp
WebKit/qt/ChangeLog

index e7995d8366c95e6f4dabf0bc1c7fc94548eac653..8109de16cb73dc6a3bef7d5e1b61dc5834297f9a 100644 (file)
@@ -172,10 +172,11 @@ QWebSettings::QWebSettings()
     d->fontSizes.insert(QWebSettings::DefaultFontSize, 14);
     d->fontSizes.insert(QWebSettings::DefaultFixedFontSize, 14);
     d->fontFamilies.insert(QWebSettings::StandardFont, QLatin1String("Arial"));
     d->fontSizes.insert(QWebSettings::DefaultFontSize, 14);
     d->fontSizes.insert(QWebSettings::DefaultFixedFontSize, 14);
     d->fontFamilies.insert(QWebSettings::StandardFont, QLatin1String("Arial"));
-    d->fontFamilies.insert(QWebSettings::StandardFont, QLatin1String("Arial"));
-    d->fontFamilies.insert(QWebSettings::FixedFont, QLatin1String("Courier"));
+    d->fontFamilies.insert(QWebSettings::FixedFont, QLatin1String("Courier New"));
     d->fontFamilies.insert(QWebSettings::SerifFont, QLatin1String("Times New Roman"));
     d->fontFamilies.insert(QWebSettings::SansSerifFont, QLatin1String("Arial"));
     d->fontFamilies.insert(QWebSettings::SerifFont, QLatin1String("Times New Roman"));
     d->fontFamilies.insert(QWebSettings::SansSerifFont, QLatin1String("Arial"));
+    d->fontFamilies.insert(QWebSettings::CursiveFont, QLatin1String("Arial"));
+    d->fontFamilies.insert(QWebSettings::FantasyFont, QLatin1String("Arial"));
 
     d->attributes.insert(QWebSettings::AutoLoadImages, true);
     d->attributes.insert(QWebSettings::JavascriptEnabled, true);
 
     d->attributes.insert(QWebSettings::AutoLoadImages, true);
     d->attributes.insert(QWebSettings::JavascriptEnabled, true);
index 9e380bd156a1fbc2037aa92d76d3f9c1e96c9964..f1d7610de6e86e8bfdab52b61e119f13041a5ea9 100644 (file)
@@ -1,3 +1,13 @@
+2008-01-22  Lars Knoll  <lars@trolltech.com>
+
+        Reviewed by Simon.
+
+        setup a family for cursive and fantasy fonts as well.
+        
+
+        * Api/qwebsettings.cpp:
+        (QWebSettings::QWebSettings):
+
 2008-01-22  Benjamin Meyer  <bmeyer@trolltech.com>
 
         Reviewed by Simon.
 2008-01-22  Benjamin Meyer  <bmeyer@trolltech.com>
 
         Reviewed by Simon.