diff options
author | caryclark <caryclark@google.com> | 2016-06-13 06:08:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-13 06:08:25 -0700 |
commit | 72708b905309af930ca76a09746be5d09204cecd (patch) | |
tree | e346d906cb337ffd62763aa90745302cab7d495f /skia/skia_library.gypi | |
parent | f49747f5fc85ea2acf0c5ff0ab589ad791bf6648 (diff) | |
download | pdfium-72708b905309af930ca76a09746be5d09204cecd.tar.xz |
fix skia + windows + gn
The Skia Windows build for PDFium differs from the
Skia Chromium build in that it uses FreeType within
PDFium and Direct Write within Chromium. This allows
Chrome to match the UI of Windows, and allows
PDFium to use FreeType to measure and draw.
When PDFium was updated to use gn, the settings
from Chrome were used as the basis for the PDFium
settings. Subsequently, PDFium built with Skia on
Windows drew text incorrectly as it used FreeType to
look up the font glyphs and Direct Write to draw them.
This fixes the gn files, and also fixes an error that
crept into the now less-used gyp files.
R=dsinclair@chromium.org
BUG=
Review-Url: https://codereview.chromium.org/2055353002
Diffstat (limited to 'skia/skia_library.gypi')
-rw-r--r-- | skia/skia_library.gypi | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/skia/skia_library.gypi b/skia/skia_library.gypi index a4eb0abf30..5757be226c 100644 --- a/skia/skia_library.gypi +++ b/skia/skia_library.gypi @@ -260,7 +260,6 @@ ], },{ # not 'OS == "win"' 'sources!': [ - '../third_party/skia/src/ports/SkFontMgr_win_dw.cpp', '../third_party/skia/src/ports/SkRemotableFontMgr_win_dw.cpp', '../third_party/skia/src/ports/SkScalerContext_win_dw.cpp', '../third_party/skia/src/ports/SkTypeface_win_dw.cpp', |