summaryrefslogtreecommitdiff
path: root/build_overrides
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-10-28 12:47:48 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-28 12:47:48 -0700
commitb849e816eee20c256cf1da94f4ba9e233b13ac23 (patch)
tree1baee6ae466153c703cf7ebd82b089e688d22935 /build_overrides
parent5bca5ca83624d2ba8df064cb888c2f27ab248097 (diff)
downloadpdfium-b849e816eee20c256cf1da94f4ba9e233b13ac23.tar.xz
Use CompositeMask instead of TransferBitmap when drawing type 3 text
TransferBitmap seems to work improperly when the glyph boxes overlap. In particular, after drawing a glyph, the next glyph's blanks will override what the previous glyph drew, and this is not the correct behavior. While on it, use CheckedNumeric to do operations safely. For reference of somewhere where something similar is done, see: https://cs.chromium.org/chromium/src/third_party/pdfium/core/fxge/ge/cfx_renderdevice.cpp?sq=package:chromium&rcl=1477581616&l=988 BUG=513954 Review-Url: https://codereview.chromium.org/2461743002
Diffstat (limited to 'build_overrides')
0 files changed, 0 insertions, 0 deletions