diff options
author | Nicolas Pena <npm@chromium.org> | 2018-06-01 21:10:33 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-06-01 21:10:33 +0000 |
commit | b27de7c64c5e9b949f3a76f962abdc2fa5c524e8 (patch) | |
tree | 5a9f0ec203c4cfeecc5f03c09a3e57a3358d711b /testing/resources/bug_547706.in | |
parent | d05394341e3a2140923f379cb1547f0600590a62 (diff) | |
download | pdfium-b27de7c64c5e9b949f3a76f962abdc2fa5c524e8.tar.xz |
Fix font regression in AdjustMMParams
Commit 2334660 changed the |dest_width| in CFX_Font::AdjustMMParams to
unsigned, but this means that dest_width - min_width becomes unsigned,
which is wrong because the subtraction could be negative. This CL fixes
this bug.
Bug: chromium:845697
Change-Id: I88fb2f3ee3837d80ff5fa70a08309d9e0fec50e0
Reviewed-on: https://pdfium-review.googlesource.com/33150
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
(cherry picked from commit 8f7ee98e2c622c21f452cd9fd5956fe85bcb2b7c)
Reviewed-on: https://pdfium-review.googlesource.com/33610
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Diffstat (limited to 'testing/resources/bug_547706.in')
0 files changed, 0 insertions, 0 deletions