fontsupport/fontprovider/Src/FontProvider.cpp
branchRCL_3
changeset 115 b359a5400166
parent 107 9f95a5546443
child 125 c87e8f932595
equal deleted inserted replaced
111:2fab78db5d89 115:b359a5400166
  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     User::LeaveIfError(aDevice.GetNearestFontInPixels((CFont*&)font,fontSpec));
  1549     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