зеркало из https://github.com/mozilla/gecko-dev.git
b=35312 Made sure we don't mesure in chunks if letter spacing is
specified
This commit is contained in:
Родитель
24b21c7210
Коммит
391a9f5e58
|
@ -3501,7 +3501,7 @@ nsTextFrame::MeasureText(nsIPresContext* aPresContext,
|
|||
PRBool justDidFirstLetter = PR_FALSE;
|
||||
#ifdef _WIN32
|
||||
PRBool measureTextRuns = !aTextData.mComputeMaxWordWidth && !aTs.mPreformatted &&
|
||||
!aTs.mSmallCaps && (0 == aTs.mWordSpacing);
|
||||
!aTs.mSmallCaps && !aTs.mWordSpacing && !aTs.mLetterSpacing;
|
||||
#else
|
||||
PRBool measureTextRuns = PR_FALSE;
|
||||
#endif
|
||||
|
|
|
@ -3501,7 +3501,7 @@ nsTextFrame::MeasureText(nsIPresContext* aPresContext,
|
|||
PRBool justDidFirstLetter = PR_FALSE;
|
||||
#ifdef _WIN32
|
||||
PRBool measureTextRuns = !aTextData.mComputeMaxWordWidth && !aTs.mPreformatted &&
|
||||
!aTs.mSmallCaps && (0 == aTs.mWordSpacing);
|
||||
!aTs.mSmallCaps && !aTs.mWordSpacing && !aTs.mLetterSpacing;
|
||||
#else
|
||||
PRBool measureTextRuns = PR_FALSE;
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче