skia2/gyp
rmistry c4b84aef1a Revert of Revert of Fix SkPaint::measureText for stroked hairline text (https://codereview.chromium.org/354433002/)
Reason for revert:
Rebaseline CL is ready to be submitted

Original issue's description:
> 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
>
> TBR=jvanverth@google.com,reed@google.com,kkinnunen@nvidia.com
> NOTREECHECKS=true
> NOTRY=true
>
> Committed: https://skia.googlesource.com/skia/+/abc9bb55ddfeb4b1a7acc335a34841fddcd22d27

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/349153005
2014-06-23 06:59:15 -07:00
..
android_deps.gyp Reland "Gyp file changes for the android framework." 2014-02-05 16:35:12 +00:00
android_framework_lib.gyp Updates to gyp files for building Android.mk 2014-02-28 16:07:39 +00:00
android_system.gyp Update DEPS and GYP to use the copy of Android in platform_tools. 2013-05-02 12:27:21 +00:00
angle.gyp Try to roll angle again. 2014-06-17 17:28:17 -04:00
animator.gyp rename SkPaintParts.* to SkPaintPart.* 2014-04-18 15:14:25 +00:00
apptype_console.gypi Move BenchTimer to tools as Timer 2014-06-20 11:29:21 -07:00
bench.gyp Add GYP target for sk_tool_utils.* component. 2014-06-21 10:54:17 -07:00
bench.gypi Remove Sk prefix from some bench classes. 2014-06-19 12:32:29 -07:00
chromeos_deps.gyp GYP Changes and Scripts for Compiling Skia for ChromeOS 2013-06-11 15:52:19 +00:00
common_conditions.gypi remove legacy moz flags 2014-06-18 14:05:22 -07:00
common_variables.gypi In Android framework, make tools depend on jsoncpp 2014-06-18 10:31:40 -07:00
common.gypi Deprecate SaveFlags use in the public SkCanvas API. 2014-04-24 21:51:58 +00:00
core.gyp [PDF] Fix font embedding restrictions. 2014-06-19 11:05:39 -07:00
core.gypi Add EXPERIMENTAL_beginRecording() for SkRecord-based recording. 2014-06-17 12:08:16 -07:00
debugger.gyp Move BenchTimer to tools as Timer 2014-06-20 11:29:21 -07:00
dm.gyp Move BenchTimer to tools as Timer 2014-06-20 11:29:21 -07:00
effects.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
effects.gypi remove reference to (deleted) SkKernel33MaskFilter 2014-05-14 17:42:42 +00:00
etc1.gyp Simple PKM image decoder. 2014-05-22 18:40:29 +00:00
everything.gyp No need to include ../tools/flags in include_dirs when depending on flags target. 2014-06-22 16:13:00 -07:00
experimental.gyp No need to include ../tools/flags in include_dirs when depending on flags target. 2014-06-22 16:13:00 -07:00
FileReaderApp.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
flags.gyp No need to include ../tools/flags in include_dirs when depending on flags target. 2014-06-22 16:13:00 -07:00
freetype.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
freetype.gypi Sanitizing source files in Housekeeper-Nightly 2013-08-21 07:01:29 +00:00
giflib.gyp Sanitizing source files in Housekeeper-Nightly 2014-02-25 03:05:18 +00:00
gm.gyp Move BenchTimer to tools as Timer 2014-06-20 11:29:21 -07:00
gmslides.gypi Revert of Revert of Fix SkPaint::measureText for stroked hairline text (https://codereview.chromium.org/354433002/) 2014-06-23 06:59:15 -07:00
gpu.gyp Add an LATC compressor to the A8 masks, and hide it behind an ifdef. 2014-06-10 17:25:28 -07:00
gpu.gypi Simple GPU based dithering: 2014-06-19 14:14:06 -07:00
gputest.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
images.gyp remove ashmem from skia 2014-06-05 08:16:34 -07:00
jsoncpp.gyp In Android framework, make tools depend on jsoncpp 2014-06-18 10:31:40 -07:00
ktx.gyp Initial KTX encoder 2014-06-06 06:16:28 -07:00
libjpeg.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
libpng.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
libwebp.gyp Fix warnings on Ubuntu13 2014-02-21 20:11:42 +00:00
lua.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
most.gyp Add nanomsg to third_party, with some demos. 2014-06-16 20:21:06 -07:00
nacl.gyp Prepare skia for shared library build on android 2013-06-03 12:10:19 +00:00
nanomsg.gyp Add nanomsg to third_party, with some demos. 2014-06-16 20:21:06 -07:00
opts.gyp Revert of Add SSE4 optimization of S32A_Opaque_Blitrow (https://codereview.chromium.org/289473009/) 2014-06-17 17:37:05 -07:00
pathops_unittest.gyp No need to include ../tools/flags in include_dirs when depending on flags target. 2014-06-22 16:13:00 -07:00
pathops_unittest.gypi path ops work in progress 2013-10-02 14:49:34 +00:00
pathops.gypi path ops work in progress 2013-09-16 15:55:01 +00:00
pdf.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
pdf.gypi Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
pdfviewer_lib.gyp move some headers out of public 2014-06-17 09:04:45 -07:00
pdfviewer.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
pixman_test.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
poppler.gyp Since we're only using it on Linux now, just require poppler as a system dependency. 2014-05-20 15:07:53 +00:00
ports.gyp Rename SkFontHost_win_dw.cpp SkScalerContext. 2014-06-05 16:55:58 -04:00
public_headers.gypi Remove SkImageRef and related functionality. 2014-06-04 14:38:48 -04:00
record.gypi Add EXPERIMENTAL_beginRecording() for SkRecord-based recording. 2014-06-17 12:08:16 -07:00
SampleApp.gyp Add GYP target for sk_tool_utils.* component. 2014-06-21 10:54:17 -07:00
sfnt.gyp Add missing sfnt header files to gyp. 2014-05-09 14:08:28 +00:00
shapeops_demo.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
shapeops_edge.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
shapeops_tool.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
SimpleCocoaApp.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
SimpleiOSApp.gyp get iOS building again 2014-04-05 01:13:43 +00:00
skflate.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
skia_for_android_framework_defines.gypi hide SkBitmap::Config entirely (behind a flag) 2014-06-17 08:38:31 -07:00
skia_for_chromium_defines.gypi Simple GPU based dithering: 2014-06-19 14:14:06 -07:00
skia_launcher.gyp Move BenchTimer to tools as Timer 2014-06-20 11:29:21 -07:00
skia_lib.gyp Revert of Add SSE4 optimization of S32A_Opaque_Blitrow (https://codereview.chromium.org/289473009/) 2014-06-17 17:37:05 -07:00
svg.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
tests.gyp Move BenchTimer to tools as Timer 2014-06-20 11:29:21 -07:00
tests.gypi Add GYP target for sk_tool_utils.* component. 2014-06-21 10:54:17 -07:00
tools.gyp No need to include ../tools/flags in include_dirs when depending on flags target. 2014-06-22 16:13:00 -07:00
utils.gyp remove ashmem from skia 2014-06-05 08:16:34 -07:00
utils.gypi Move Dashing filterPath to a dashing utils file 2014-06-11 06:51:51 -07:00
v8.gyp No need to include ../tools/flags in include_dirs when depending on flags target. 2014-06-22 16:13:00 -07:00
views_animated.gyp Remove dependency of views on angle 2014-04-29 00:38:39 +00:00
views.gyp Remove dependency of views on angle 2014-04-29 00:38:39 +00:00
webtry.gyp Add pathops and capture stderr so we can get SkDebugf output. 2014-04-28 14:56:32 +00:00
xml.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
xps.gyp Remove the comments settings for vim tab width and expansion variables. 2013-12-02 22:23:03 +00:00
zlib.gyp Fix valgrind bot errors introduced in f84722e477. 2014-02-25 18:01:37 +00:00