mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Bug 380484. Work around ATSUI's 32k pixel limitation; when creating textruns, split the textrun up into smaller pieces if necessary before we pass it to ATSUI. r=vlad
This commit is contained in:
parent
cefbf16024
commit
e74bb303b6
@ -789,6 +789,8 @@ public:
|
||||
{ return (mFlags & gfxTextRunFactory::TEXT_IS_8BIT) ? mText.mSingle : nsnull; }
|
||||
const PRUnichar *GetTextUnicode() const
|
||||
{ return (mFlags & gfxTextRunFactory::TEXT_IS_8BIT) ? nsnull : mText.mDouble; }
|
||||
const PRUnichar GetChar(PRUint32 i) const
|
||||
{ return (mFlags & gfxTextRunFactory::TEXT_IS_8BIT) ? mText.mSingle[i] : mText.mDouble[i]; }
|
||||
PRUint32 GetHashCode() const { return mHashCode; }
|
||||
void SetHashCode(PRUint32 aHash) { mHashCode = aHash; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user