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:
troy%netscape.com
2000-04-13 20:43:48 +00:00
parent 1006b9f5db
commit 1b1acabdc3
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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