Index: core/fpdfdoc/ctypeset.cpp |
diff --git a/core/fpdfdoc/ctypeset.cpp b/core/fpdfdoc/ctypeset.cpp |
index 8c85e7992291cd59ef3dc9bcf164fbfdc87e5862..57d3733dc3f65749f482ba3f46f52bc1218f523a 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 = |