diff options
author | Jim Van Verth <jvanverth@google.com> | 2018-06-01 13:46:46 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-01 18:31:47 +0000 |
commit | 70276915db0c4ec604213c61cb69d8f0419e0e60 (patch) | |
tree | d14b0dad8c1c3745df84b88f0dcec33ebda6098b /gn/samples.gni | |
parent | 8683037a2ea9d75d1aea8915bf8acdc9cc6f4d24 (diff) |
Set bounds correctly for color emoji that need post-cache transfoms
We need to handle the bounds for transformed color emoji the same
way we handle the bounds for distance field text. Without this
bounds correction, the glyphs were being clipped out.
Also adds a sample to test this case.
Bug: 848616
Change-Id: I39dedbe2fd19331ad67978c95519f5c9d46f59fc
Reviewed-on: https://skia-review.googlesource.com/131523
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Auto-Submit: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'gn/samples.gni')
-rw-r--r-- | gn/samples.gni | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gn/samples.gni b/gn/samples.gni index b5728b3bfd..1a4002f82c 100644 --- a/gn/samples.gni +++ b/gn/samples.gni @@ -50,6 +50,7 @@ samples_sources = [ "$_samplecode/SampleFlutterAnimate.cpp", "$_samplecode/SampleFontScalerTest.cpp", "$_samplecode/SampleFuzz.cpp", + "$_samplecode/SampleGlyphTransform.cpp", "$_samplecode/SampleGradients.cpp", "$_samplecode/SampleHairCurves.cpp", "$_samplecode/SampleHairline.cpp", |