Flag 8-bit ATSUI text too. Bug 368799.

This commit is contained in:
bzbarsky%mit.edu 2007-02-09 02:51:06 +00:00
parent d86fcb2366
commit b07f9887e4
2 changed files with 2 additions and 1 deletions

View File

@ -476,6 +476,7 @@ gfxTextRun *
gfxAtsuiFontGroup::MakeTextRun(const PRUint8* aString, PRUint32 aLength,
Parameters* aParams)
{
aParams->mFlags |= TEXT_IS_8BIT;
return new gfxWrapperTextRun(this, aString, aLength, aParams);
}

View File

@ -654,7 +654,7 @@ gfxTextRun *
gfxWindowsFontGroup::MakeTextRun(const PRUint8* aString, PRUint32 aLength,
Parameters* aParams)
{
aParams->mFlags |= gfxTextRunFactory::TEXT_IS_8BIT;
aParams->mFlags |= TEXT_IS_8BIT;
return new gfxWrapperTextRun(this, aString, aLength, aParams);
}