diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-10-04 21:13:59 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-04 21:13:59 +0000 |
commit | 7cabaf136b2aa671768c9d8ee3645c9444afc700 (patch) | |
tree | 4aec57e31e1a7207e8009e9d33c9b738a3e8288b /core/fpdfdoc/ctypeset.cpp | |
parent | ce6eb642dbaf96fc2a9d4e97a205a0a12e7154a4 (diff) | |
download | pdfium-7cabaf136b2aa671768c9d8ee3645c9444afc700.tar.xz |
CPDF_VariableText::m_nHorzScale is always 100
Remove the member and simplify logic in all the places this
is passed.
Change-Id: I39b979793fe84f0dc460261223655dd7f50555cc
Reviewed-on: https://pdfium-review.googlesource.com/c/43474
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfdoc/ctypeset.cpp')
-rw-r--r-- | core/fpdfdoc/ctypeset.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/fpdfdoc/ctypeset.cpp b/core/fpdfdoc/ctypeset.cpp index 290b95e9b4..551173162b 100644 --- a/core/fpdfdoc/ctypeset.cpp +++ b/core/fpdfdoc/ctypeset.cpp @@ -315,8 +315,7 @@ void CTypeset::SplitLines(bool bTypeset, float fFontSize) { std::min(fLineDescent, m_pVT->GetWordDescent(*pWord, fFontSize)); fWordWidth = m_pVT->GetWordWidth( pWord->nFontIndex, pWord->Word, m_pVT->GetSubWord(), - m_pVT->GetCharSpace(), m_pVT->GetHorzScale(), fFontSize, - pWord->fWordTail); + m_pVT->GetCharSpace(), fFontSize, pWord->fWordTail); } if (!bOpened) { if (IsOpenStylePunctuation(pWord->Word)) { |