Commit d24de784 authored by kbalazs@webkit.org's avatar kbalazs@webkit.org
Browse files

2011-01-27 Balazs Kelemen <kbalazs@webkit.org>

        Reviewed by Andreas Kling.

        [Qt][WK2] Lots of layout test failures due to wrong font type
        https://bugs.webkit.org/show_bug.cgi?id=53233

        * Shared/WebPreferencesStore.h:
        Specialize default font families for Qt.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a1e0fe65
2011-01-27 Balazs Kelemen <kbalazs@webkit.org>
Reviewed by Andreas Kling.
[Qt][WK2] Lots of layout test failures due to wrong font type
https://bugs.webkit.org/show_bug.cgi?id=53233
* Shared/WebPreferencesStore.h:
Specialize default font families for Qt.
2011-01-26 Maciej Stachowiak <mjs@apple.com>
 
Reviewed by Dan Bernstein.
......@@ -92,7 +92,7 @@ namespace WebKit {
macro(SerifFontFamily, serifFontFamily, String, String, "Times New Roman") \
\
#else
#elif PLATFORM(MAC)
#define FOR_EACH_WEBKIT_FONT_FAMILY_PREFERENCE(macro) \
macro(StandardFontFamily, standardFontFamily, String, String, "Times") \
......@@ -103,6 +103,17 @@ namespace WebKit {
macro(SerifFontFamily, serifFontFamily, String, String, "Times") \
\
#elif PLATFORM(QT)
#define FOR_EACH_WEBKIT_FONT_FAMILY_PREFERENCE(macro) \
macro(StandardFontFamily, standardFontFamily, String, String, "Times") \
macro(CursiveFontFamily, cursiveFontFamily, String, String, "Comic Sans MS") \
macro(FantasyFontFamily, fantasyFontFamily, String, String, "Impact") \
macro(FixedFontFamily, fixedFontFamily, String, String, "Courier New") \
macro(SansSerifFontFamily, sansSerifFontFamily, String, String, "Helvetica") \
macro(SerifFontFamily, serifFontFamily, String, String, "Times") \
\
#endif
#define FOR_EACH_WEBKIT_STRING_PREFERENCE(macro) \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment