зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
52b7fa4c9d
Коммит
59726de53c
|
@ -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;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче