Comment #2 on issue 9100 by peter.arrenbrecht: Don't depend on msttcorefonts
http://code.google.com/p/chromium/issues/detail?id=9100
I can run chromium on Ubuntu w/o msttcorefonts with the following patch to
WebKit:
Index:
../third_party/WebKit/WebCore/platform/graphics/chromium/FontCacheLinux.cpp
===================================================================
--- ../third_party/WebKit/WebCore/platform/graphics/chromium/FontCacheLinux.cpp
(revision 12376)
+++ ../third_party/WebKit/WebCore/platform/graphics/chromium/FontCacheLinux.cpp
(working copy)
@@ -98,8 +98,8 @@
FontPlatformData* FontCache::getLastResortFallbackFont(const
FontDescription&
description)
{
- static AtomicString arialStr("Arial");
- return getCachedFontPlatformData(description, arialStr);
+ static AtomicString sansStr("Sans");
+ return getCachedFontPlatformData(description, sansStr);
}
void FontCache::getTraitsInFamily(const AtomicString& familyName,
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---