diff options
author | Cary Clark <caryclark@google.com> | 2016-03-24 10:23:13 -0400 |
---|---|---|
committer | Cary Clark <caryclark@google.com> | 2016-03-24 10:23:13 -0400 |
commit | cf6bffb79f6e62d096908e6629daba5525728272 (patch) | |
tree | 06eb3f3712074025024a48b0f9f67a2c6eb2b144 /fpdfsdk/jsapi/fxjs_v8.cpp | |
parent | ea10a0dcae1b593fa9d85ae867c19be5c34ca8ed (diff) | |
download | pdfium-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