webengine/osswebengine/WebCore/platform/symbian/FontCacheSymbian.cpp
changeset 37 cb62a4f66ebe
parent 13 10e98eab6f85
child 59 1f3c3f2f5b0a
child 65 5bfc169077b2
--- a/webengine/osswebengine/WebCore/platform/symbian/FontCacheSymbian.cpp	Thu Dec 17 09:20:16 2009 +0200
+++ b/webengine/osswebengine/WebCore/platform/symbian/FontCacheSymbian.cpp	Thu Jan 07 13:31:38 2010 +0200
@@ -138,6 +138,9 @@
 
 const AtomicString& PlatformFontCache::SystemFontFamily( const AtomicString& familyName )
 {
+#ifdef BRDO_BROWSER_MULTIPLE_FONT_SUPPORT
+    return familyName;
+#else
     // first check if we support this font
     for (TInt n=0; n<iTypefaceCount; ++n)
     {
@@ -148,6 +151,7 @@
     }
 
     return DeviceDefaultFontFamilies();
+#endif
 }
 
 const AtomicString& PlatformFontCache::DeviceDefaultFontFamilies()