b=35312 Made sure we don't mesure in chunks if letter spacing is
specified git-svn-id: svn://10.0.0.236/trunk@65862 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user