textrendering/textformatting/tagma/TMINTERP.CPP
branchRCL_3
changeset 69 09b5fcf47b30
parent 65 795cadd2b83a
equal deleted inserted replaced
65:795cadd2b83a 69:09b5fcf47b30
  2743 	if (CopyFit() || (aFormat.iEffects & (TTmCharFormat::EUnderline | TTmCharFormat::EStrikethrough)))
  2743 	if (CopyFit() || (aFormat.iEffects & (TTmCharFormat::EUnderline | TTmCharFormat::EStrikethrough)))
  2744 		{
  2744 		{
  2745 		CFont::TMeasureTextInput input;
  2745 		CFont::TMeasureTextInput input;
  2746 		input.iFlags = CFont::TMeasureTextInput::EFVisualOrder;
  2746 		input.iFlags = CFont::TMeasureTextInput::EFVisualOrder;
  2747 		input.iStartInputChar = 1;
  2747 		input.iStartInputChar = 1;
  2748 		input.iEndInputChar = aEnd;
       
  2749 		extra_pixels = text_bounds.Width() - aFont->MeasureText(aText, &input);
  2748 		extra_pixels = text_bounds.Width() - aFont->MeasureText(aText, &input);
  2750 		}
  2749 		}
  2751 
  2750 
  2752 	// Draw the text.
  2751 	// Draw the text.
  2753 
  2752