6a774a1f26
The previous code uncovered a rather strange issue with GDI, where it appears that alternating between two HFONTs with the same attributes but vastly different heights does not appear to invalidate the the 'x' metrics (the 'y' metrics appear to be correct). As a result it is possible to get completely useless results from GetGlyphOutlineW. This change works around the issue by simply scaling the one font to the required sizes, which also saves us an HFONT. Review URL: https://codereview.chromium.org/21047008 git-svn-id: http://skia.googlecode.com/svn/trunk@10425 2bbb7eff-a529-9590-31e7-b0007b416f81 |
||
---|---|---|
animations | ||
bench | ||
debugger | ||
expectations | ||
experimental | ||
forth | ||
gm | ||
gyp | ||
include | ||
platform_tools | ||
resources | ||
samplecode | ||
src | ||
tests | ||
third_party | ||
tools | ||
trybots_to_run/chrome | ||
.gitignore | ||
codereview.settings | ||
DEPS | ||
Doxyfile | ||
gyp_skia | ||
LICENSE | ||
make.bat | ||
make.py | ||
Makefile | ||
Makefile.old | ||
PRESUBMIT.py | ||
README | ||
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