fontsupport/fontprovider/Src/FontProvider.cpp
branchRCL_3
changeset 125 c87e8f932595
parent 115 b359a5400166
equal deleted inserted replaced
115:b359a5400166 125:c87e8f932595
  1544     TBool needsExactMatch(EFalse);
  1544     TBool needsExactMatch(EFalse);
  1545     TBool fallbackNeeded(EFalse);
  1545     TBool fallbackNeeded(EFalse);
  1546     DoGetFontSpecFromMetrics(aDevice, aFontId, aMetrics, fontSpec, foundIndex, needsExactMatch, fallbackNeeded);
  1546     DoGetFontSpecFromMetrics(aDevice, aFontId, aMetrics, fontSpec, foundIndex, needsExactMatch, fallbackNeeded);
  1547 
  1547 
  1548     CFbsFont* font;
  1548     CFbsFont* font;
  1549     aDevice.GetNearestFontInPixels((CFont*&)font,fontSpec);
  1549     User::LeaveIfError(aDevice.GetNearestFontInPixels((CFont*&)font,fontSpec));
  1550 
  1550 
  1551     // Fill in other Font metrics
  1551     // Fill in other Font metrics
  1552     SetFontProviderSuppliedMetrics( font, &(productFontTable[foundIndex]), aInfo );
  1552     SetFontProviderSuppliedMetrics( font, &(productFontTable[foundIndex]), aInfo );
  1553 
  1553 
  1554 #ifdef _DEBUG
  1554 #ifdef _DEBUG
  1879                     }
  1879                     }
  1880                 }
  1880                 }
  1881             }
  1881             }
  1882  
  1882  
  1883         }
  1883         }
  1884     store->SetFontNameAliasL(_L("Series 60 Sans"),_L("Nokia Sans S60"));     
  1884         
  1885     CleanupStack::PopAndDestroy( store );   
  1885     CleanupStack::PopAndDestroy( store );   
  1886     
  1886     
  1887     return;
  1887     return;
  1888     }
  1888     }
  1889 
  1889