Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: webkit/port/platform/graphics/chromium/FontCacheLinux.cpp

Issue 12656: Linux: match average char width with Windows (Closed)
Patch Set: Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/port/platform/graphics/chromium/FontCacheLinux.cpp
diff --git a/webkit/port/platform/graphics/chromium/FontCacheLinux.cpp b/webkit/port/platform/graphics/chromium/FontCacheLinux.cpp
index 7a0606c0772563239854c74ae39c95fa3bb32f85..ab373749c9f367c975224d6b49d5c17c87560d07 100644
--- a/webkit/port/platform/graphics/chromium/FontCacheLinux.cpp
+++ b/webkit/port/platform/graphics/chromium/FontCacheLinux.cpp
@@ -42,7 +42,6 @@ const AtomicString& FontCache::alternateFamilyName(const AtomicString& familyNam
FontPlatformData* FontCache::getSimilarFontPlatformData(const Font& font)
{
- notImplemented();
agl 2008/11/25 23:24:02 I removed this because it matches the code on Wind
return 0;
}
@@ -111,7 +110,7 @@ AtomicString FontCache::getGenericFontForScript(UScriptCode script,
const FontDescription&)
{
notImplemented();
- return AtomicString();
+ return AtomicString("Times New Roman");
}
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698