summaryrefslogtreecommitdiff
path: root/fpdfsdk/jsapi/fxjs_v8.cpp
diff options
context:
space:
mode:
authorCary Clark <caryclark@google.com>2016-03-24 10:23:13 -0400
committerCary Clark <caryclark@google.com>2016-03-24 10:23:13 -0400
commitcf6bffb79f6e62d096908e6629daba5525728272 (patch)
tree06eb3f3712074025024a48b0f9f67a2c6eb2b144 /fpdfsdk/jsapi/fxjs_v8.cpp
parentea10a0dcae1b593fa9d85ae867c19be5c34ca8ed (diff)
downloadpdfium-cf6bffb79f6e62d096908e6629daba5525728272.tar.xz
fix windows build; add blend modes
Use FreeType instead of Direct Write on Windows. Since PDFium currently uses the graphics engine to draw but not to measure, the graphics engine needs to always use FreeType to get consistent metrics. Add a translation from PDF's blend modes to Skia's xfer modes. Turn on subpixel positioning for text to get more precise glyph placement. Pass the alpha through to get proper bitmap transparency. Address earlier nits. R=dsinclair@chromium.org, tsepez@chromium.org, dsinclair Review URL: https://codereview.chromium.org/1812263002 .
Diffstat (limited to 'fpdfsdk/jsapi/fxjs_v8.cpp')
0 files changed, 0 insertions, 0 deletions