diff options
author | npm <npm@chromium.org> | 2016-10-28 12:47:48 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-28 12:47:48 -0700 |
commit | b849e816eee20c256cf1da94f4ba9e233b13ac23 (patch) | |
tree | 1baee6ae466153c703cf7ebd82b089e688d22935 /core/fpdfapi/page | |
parent | 5bca5ca83624d2ba8df064cb888c2f27ab248097 (diff) | |
download | pdfium-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 'core/fpdfapi/page')
0 files changed, 0 insertions, 0 deletions