Go to file
rmistry abc9bb55dd Revert of Fix SkPaint::measureText for stroked hairline text (https://codereview.chromium.org/335603003/)
Reason for revert:
Caused many shadertext GM failures

Original issue's description:
> Fix SkPaint::measureText for stroked hairline text
>
> SkPaint::measureText and text drawing used different criteria for
> determining whether text should be drawn as paths or not.
>
> Adds tests glyph_pos_(h/n)_(s/f/b) to test the text rendering and the glyph
> positioning in the rendering. Mainly added in order to define what is the
> expected text rendering when hairline stroke is used with various transform
> options.
>
> The testcase also tries to note or highlight the fact that SkPaint::measureText
> is not expected to produce intuitively matching results when compared to a
> rendering, if the rendering is done so that the device ends up having a device
> transform.
>
> This fixes the glyph_pos_h_s (hairline, stroked) test-case.
>
> Ignore shadertext2_pdf-poppler.png gm on
> Test-Ubuntu13.10-ShuttleA-NoGPU-x86_64-Debug temporarily, as that fails.
>
> Committed: https://skia.googlesource.com/skia/+/196af738027c5e18c3eb792dbcaf90ef27821793

R=jvanverth@google.com, reed@google.com, kkinnunen@nvidia.com
TBR=jvanverth@google.com, kkinnunen@nvidia.com, reed@google.com
NOTREECHECKS=true
NOTRY=true

Author: rmistry@google.com

Review URL: https://codereview.chromium.org/354433002
2014-06-23 05:39:26 -07:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Support using OpenGL ES context on desktop 2014-06-22 22:56:54 -07:00
debugger Move BenchTimer to tools as Timer 2014-06-20 11:29:21 -07:00
dm Support using OpenGL ES context on desktop 2014-06-22 22:56:54 -07:00
docs warn that docs/quickstart.md is out of sync with official docs 2014-04-21 19:18:46 +00:00
expectations Revert of Fix SkPaint::measureText for stroked hairline text (https://codereview.chromium.org/335603003/) 2014-06-23 05:39:26 -07:00
experimental Support using OpenGL ES context on desktop 2014-06-22 22:56:54 -07:00
forth Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
gm Revert of Fix SkPaint::measureText for stroked hairline text (https://codereview.chromium.org/335603003/) 2014-06-23 05:39:26 -07:00
gyp Revert of Fix SkPaint::measureText for stroked hairline text (https://codereview.chromium.org/335603003/) 2014-06-23 05:39:26 -07:00
include Revert of Fix SkPaint::measureText for stroked hairline text (https://codereview.chromium.org/335603003/) 2014-06-23 05:39:26 -07:00
platform_tools Move BenchTimer to tools as Timer 2014-06-20 11:29:21 -07:00
resources Adding resource files 2014-06-02 15:18:27 -04:00
samplecode Port SampleApp to SkCommandLineFlags. 2014-06-19 14:18:56 -07:00
src Revert of Fix SkPaint::measureText for stroked hairline text (https://codereview.chromium.org/335603003/) 2014-06-23 05:39:26 -07:00
tests Refactor how we handle resources path in Tests. 2014-06-18 14:32:49 -07:00
third_party hide SkBitmap::Config entirely (behind a flag) 2014-06-17 08:38:31 -07:00
tools Support using OpenGL ES context on desktop 2014-06-22 22:56:54 -07:00
trybots_to_run/chrome Deleting the hardcoded list of compile bots in trybots_to_run. 2013-04-09 11:59:42 +00:00
.gitignore Add common/ to .gitignore 2014-06-20 07:47:36 -07:00
AUTHORS MIPS: modified gypi files to support build 2014-06-06 14:09:12 -07:00
codereview.settings Add Project to skia 2014-06-20 09:39:15 -07:00
CONTRIBUTING Add CONTRIBUTING file 2014-01-13 15:06:26 +00:00
CQ_COMMITTERS Add sugoi@ to CQ_COMMITTERS. 2014-06-16 08:54:57 -07:00
DEPS Add DEPS entry for common repo 2014-06-20 07:55:03 -07:00
Doxyfile delete no-longer-used update-doxygen.sh 2014-05-15 14:41:00 +00:00
gyp_skia Fix Windows bots 2014-06-16 13:41:25 -07:00
gyp_skia.py Roll gyp deps from 1765 to 1796. 2013-11-21 18:11:14 +00:00
LICENSE Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.bat Enable compiling with automatically-downloaded VS toolchain on Windows bots 2014-06-16 10:02:42 -04:00
make.py Enable compiling with automatically-downloaded VS toolchain on Windows bots 2014-06-16 10:02:42 -04:00
Makefile simplify tools/xsan_build now that make runs ninja 2014-04-24 18:16:13 +00:00
OWNERS add root files from chrome 2013-08-13 19:11:15 +00:00
PRESUBMIT.py Check if the issue owner is in the AUTHORS file in PRESUBMIT.py 2014-02-03 14:18:32 +00:00
README Point to skiadocs in our README. 2014-05-09 04:30:09 +00:00
README.chromium add root files from chrome 2013-08-13 19:11:15 +00:00
skia.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
SKP_VERSION Update SKP version to 29 2014-06-22 22:18:34 -07:00
whitespace.txt Testing trybot triggering 2014-06-13 11:59:44 -07:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://sites.google.com/site/skiadocs/home