webengine/osswebengine/WebCore/platform/symbian/FontCacheSymbian.cpp
changeset 65 5bfc169077b2
parent 37 cb62a4f66ebe
child 68 92a765b5b3e7
equal deleted inserted replaced
42:d39add9822e2 65:5bfc169077b2
   136     iDeviceDefaultFont = "";
   136     iDeviceDefaultFont = "";
   137 }
   137 }
   138 
   138 
   139 const AtomicString& PlatformFontCache::SystemFontFamily( const AtomicString& familyName )
   139 const AtomicString& PlatformFontCache::SystemFontFamily( const AtomicString& familyName )
   140 {
   140 {
   141 #ifdef BRDO_BROWSER_MULTIPLE_FONT_SUPPORT
       
   142     return familyName;
       
   143 #else
       
   144     // first check if we support this font
   141     // first check if we support this font
   145     for (TInt n=0; n<iTypefaceCount; ++n)
   142     for (TInt n=0; n<iTypefaceCount; ++n)
   146     {
   143     {
   147         if (iSupportedNames[n] == familyName )
   144         if (iSupportedNames[n] == familyName )
   148         {
   145         {
   149             return iSupportedNames[n];
   146             return iSupportedNames[n];
   150         }
   147         }
   151     }
   148     }
   152 
   149 
   153     return DeviceDefaultFontFamilies();
   150     return DeviceDefaultFontFamilies();
   154 #endif
       
   155 }
   151 }
   156 
   152 
   157 const AtomicString& PlatformFontCache::DeviceDefaultFontFamilies()
   153 const AtomicString& PlatformFontCache::DeviceDefaultFontFamilies()
   158     {
   154     {
   159     TPtrC font(KPlatformDefaultFontFamily);
   155     TPtrC font(KPlatformDefaultFontFamily);