Bug 416637. There might be some skipped characters before standalone combining marks at the start of a textrun. r=vlad

This commit is contained in:
roc+@cs.cmu.edu 2008-03-03 18:30:20 -08:00
Родитель 52b7fa4c9d
Коммит 59726de53c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -405,7 +405,7 @@ TextRunWordCache::FinishTextRun(gfxTextRun *aTextRun, gfxTextRun *aNewRun,
// need to find out what the platform would do // need to find out what the platform would do
// if the marks were at the start of the text. // if the marks were at the start of the text.
tmpTextRun = aNewRun->GetFontGroup()->MakeTextRun( tmpTextRun = aNewRun->GetFontGroup()->MakeTextRun(
aTextRun->GetTextUnicode(), length, aParams, aTextRun->GetTextUnicode() + sourceOffset, length, aParams,
aNewRun->GetFlags()); aNewRun->GetFlags());
source = tmpTextRun; source = tmpTextRun;
sourceOffset = 0; sourceOffset = 0;