summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_variabletext.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-10-04 21:13:59 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-04 21:13:59 +0000
commit7cabaf136b2aa671768c9d8ee3645c9444afc700 (patch)
tree4aec57e31e1a7207e8009e9d33c9b738a3e8288b /core/fpdfdoc/cpdf_variabletext.h
parentce6eb642dbaf96fc2a9d4e97a205a0a12e7154a4 (diff)
downloadpdfium-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/cpdf_variabletext.h')
-rw-r--r--core/fpdfdoc/cpdf_variabletext.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/fpdfdoc/cpdf_variabletext.h b/core/fpdfdoc/cpdf_variabletext.h
index 46d92e5d23..aa4701551f 100644
--- a/core/fpdfdoc/cpdf_variabletext.h
+++ b/core/fpdfdoc/cpdf_variabletext.h
@@ -108,7 +108,6 @@ class CPDF_VariableText {
int32_t GetCharArray() const { return m_nCharArray; }
int32_t GetLimitChar() const { return m_nLimitChar; }
bool IsMultiLine() const { return m_bMultiLine; }
- int32_t GetHorzScale() const { return m_nHorzScale; }
float GetCharSpace() const { return m_fCharSpace; }
bool IsAutoReturn() const { return m_bLimitWidth; }
@@ -153,7 +152,6 @@ class CPDF_VariableText {
uint16_t Word,
uint16_t SubWord,
float fCharSpace,
- int32_t nHorzScale,
float fFontSize,
float fWordTail);
float GetWordAscent(const CPVT_WordInfo& WordInfo);
@@ -201,7 +199,6 @@ class CPDF_VariableText {
int32_t m_nLimitChar = 0;
int32_t m_nCharArray = 0;
int32_t m_nAlignment = 0;
- int32_t m_nHorzScale = 100;
float m_fLineLeading = 0.0f;
float m_fCharSpace = 0.0f;
float m_fFontSize = 0.0f;