diff options
author | npm <npm@chromium.org> | 2016-11-30 15:23:11 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-30 15:23:11 -0800 |
commit | c62980ec7539fa5ae2065ba5f287aada3a814173 (patch) | |
tree | 42c2efe6142ea4527ad9e1dedc11521924e4a81f /fpdfsdk | |
parent | 345d489b70a8e057587512524e69bd5692e2e14b (diff) | |
download | pdfium-c62980ec7539fa5ae2065ba5f287aada3a814173.tar.xz |
Fix initial kerning when there is a horzscale setchromium/2938
Reasoning: the pTextAdvanceX in CPDF_TextObject::CalcPositionData is
being multiplied by horz_scale in CPDF_TextObject::CalcPositionData.
Then, m_pCurStates->m_TextX is updated by this amount. So multiply by
the scale also when updating with initial and final kerning and when
nsegs = 0.
BUG=528103
Review-Url: https://codereview.chromium.org/2542743002
Diffstat (limited to 'fpdfsdk')
0 files changed, 0 insertions, 0 deletions