[Webkit-unassigned] [Bug 55035] New: Non-latin friendly default GUI fallback font for Chromium

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 23 04:13:03 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=55035

           Summary: Non-latin friendly default GUI fallback font for
                    Chromium
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kochi at chromium.org
                CC: jshin at chromium.org, tony at chromium.org,
                    evan at chromium.org, kochi at chromium.org


Currently WebCore/rendering/RenderThemeChromiumSkia.cpp defins 'Arial' as the default GUI font,
but this is not suitable for languages that use non-latin characters, like CJK.

I'd like to propose that we would use "Arial, sans-serif" so that some proper fallback sans-serif font
could be selected for non-latin characters.


Index: WebCore/rendering/RenderThemeChromiumSkia.cpp
===================================================================
--- WebCore/rendering/RenderThemeChromiumSkia.cpp       (revision 79111)
+++ WebCore/rendering/RenderThemeChromiumSkia.cpp       (working copy)
@@ -79,7 +79,7 @@
 // sizes (e.g. 15px). So, for now we just use Arial.
 const String& RenderThemeChromiumSkia::defaultGUIFont()
 {
-    DEFINE_STATIC_LOCAL(String, fontFace, ("Arial"));
+    DEFINE_STATIC_LOCAL(String, fontFace, ("Arial, sans-serif"));
     return fontFace;
 }

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list