b000d76af4
When PDF uses fake bold text, it uses stroke and fill for the text. After that, line is drawn. It creates new ContextEntry which GraphicStateEntry has 0 fTextScaleX. Since fTextScaleX is 0, GraphicStackState::updateDrawingState() doesn't update text fill mode or the PDF page. When the normal text is drawn, it reuse the line's ContextEntry because GraphicStateEntry::compareInitialState() returns true. However, since the reused GraphicsStateEntry's fTextScaleX is 0, the text fill mode is not updated to fill, and the text is drawn in stroke and fill mode. When the fTextScaleX is changed, we should not reuse GraphicStateEntry even if ether of fTextScaleX is 0. BUG=skia:2132 R=reed@google.com, vandebo@chromium.org, bungeman@google.com Author: yuki.sekiguchi@access-company.com Review URL: https://codereview.chromium.org/137923005 git-svn-id: http://skia.googlecode.com/svn/trunk@13369 2bbb7eff-a529-9590-31e7-b0007b416f81 |
||
---|---|---|
animations | ||
bench | ||
debugger | ||
dm | ||
docs | ||
expectations | ||
experimental | ||
forth | ||
gm | ||
gyp | ||
include | ||
platform_tools | ||
resources | ||
samplecode | ||
src | ||
tests | ||
third_party | ||
tools | ||
trybots_to_run/chrome | ||
.gitignore | ||
AUTHORS | ||
codereview.settings | ||
CONTRIBUTING | ||
DEPS | ||
Doxyfile | ||
gyp_skia | ||
gyp_skia.py | ||
LICENSE | ||
make.bat | ||
make.py | ||
Makefile | ||
Makefile.old | ||
OWNERS | ||
PRESUBMIT.py | ||
README | ||
README.chromium | ||
skia.gyp | ||
whitespace.txt |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at http://code.google.com/p/skia/wiki/DocRoot