textrendering/textformatting/tagma/TMINTERP.CPP
branchRCL_3
changeset 65 795cadd2b83a
parent 55 336bee5c2d35
child 69 09b5fcf47b30
equal deleted inserted replaced
60:dd58c6eee052 65:795cadd2b83a
  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;
  2748 		extra_pixels = text_bounds.Width() - aFont->MeasureText(aText, &input);
  2749 		extra_pixels = text_bounds.Width() - aFont->MeasureText(aText, &input);
  2749 		}
  2750 		}
  2750 
  2751 
  2751 	// Draw the text.
  2752 	// Draw the text.
  2752 
  2753