зеркало из https://github.com/mozilla/pjs.git
Bug 356670 The ASCII text rendering is broken on Linux (regression of bug 356235) r=vlad (the review is in bug 356235)
This commit is contained in:
Родитель
825fa88d0d
Коммит
536e519668
|
@ -129,8 +129,8 @@ public:
|
|||
virtual const nsTArray<gfxFloat> *const GetSpacing() const;
|
||||
|
||||
private:
|
||||
nsDependentSubstring mWString;
|
||||
nsDependentCSubstring mCString;
|
||||
nsString mWString;
|
||||
nsCString mCString;
|
||||
|
||||
PRBool mIsWide;
|
||||
|
||||
|
|
|
@ -660,13 +660,13 @@ GetCJKLangGroupIndex(const char *aLangGroup)
|
|||
**/
|
||||
|
||||
gfxXftTextRun::gfxXftTextRun(const nsAString& aString, gfxPangoFontGroup *aGroup)
|
||||
: mWString(aString, 0), mIsWide(PR_TRUE), mGroup(aGroup), mWidth(-1), mHeight(-1)
|
||||
: mWString(aString), mIsWide(PR_TRUE), mGroup(aGroup), mWidth(-1), mHeight(-1)
|
||||
|
||||
{
|
||||
}
|
||||
|
||||
gfxXftTextRun::gfxXftTextRun(const nsACString& aString, gfxPangoFontGroup *aGroup)
|
||||
: mCString(aString, 0), mIsWide(PR_FALSE), mGroup(aGroup), mWidth(-1), mHeight(-1)
|
||||
: mCString(aString), mIsWide(PR_FALSE), mGroup(aGroup), mWidth(-1), mHeight(-1)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче