diff options
Diffstat (limited to 'core/fpdfdoc/ctypeset.cpp')
-rw-r--r-- | core/fpdfdoc/ctypeset.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/fpdfdoc/ctypeset.cpp b/core/fpdfdoc/ctypeset.cpp index 8c85e79922..57d3733dc3 100644 --- a/core/fpdfdoc/ctypeset.cpp +++ b/core/fpdfdoc/ctypeset.cpp @@ -300,10 +300,8 @@ void CTypeset::SplitLines(FX_BOOL bTypeset, FX_FLOAT fFontSize) { } if (pWord) { if (bTypeset) { - fLineAscent = - std::max(fLineAscent, m_pVT->GetWordAscent(*pWord, TRUE)); - fLineDescent = - std::min(fLineDescent, m_pVT->GetWordDescent(*pWord, TRUE)); + fLineAscent = std::max(fLineAscent, m_pVT->GetWordAscent(*pWord)); + fLineDescent = std::min(fLineDescent, m_pVT->GetWordDescent(*pWord)); fWordWidth = m_pVT->GetWordWidth(*pWord); } else { fLineAscent = |