Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUnable to find glyph key cache after recent text transform changes #2093
Comments
|
cc @lsalzman |
|
I also see this crash when I open that page (https://www.w3.org/conf/2013sf/) in Firefox in a Firefox build that includes the webrender update that includes #2058. |
|
|
Reduced testcase: transformed text shadows seem to be busted |
|
We should add a gecko reftest for this; presumably the crash would have shown up in my try pushes if we had one |
|
Markus is working on a yaml testcase for wrench |
|
possible YAML testcase, haven't tested it yet: root:
items:
- type: stacking-context
bounds: [0, 0, 430, 330]
transform: rotate(30)
items:
- type: "shadow"
bounds: [0, 0, 430, 330]
blur-radius: 1
offset: [0, 1]
color: blue
- text: "a Bcd Efgh Ijklm Nopqrs Tuvwxyz"
origin: 50 200
size: 20
font: "FreeSans.ttf"
- type: "pop-all-shadows" |
This was referenced Nov 23, 2017
bors-servo
added a commit
that referenced
this issue
Nov 23, 2017
ensure that we request glyphs without a transform for text shadows This passes down the rasterization space information into TextRunPrimitiveCpu::prepare_for_render, so that we can ensure glyph requests are kicked off with no transform for text shadows (as discussed with gw). Text shadows do not supply a any transform when calling fetch_glyphs, so if we don't make sure to request the glyphs without a transform, this will cause the crash in issue #2093. Crashtest supplied courtesy of mstange. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/2094) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
Nov 23, 2017
ensure that we request glyphs without a transform for text shadows This passes down the rasterization space information into TextRunPrimitiveCpu::prepare_for_render, so that we can ensure glyph requests are kicked off with no transform for text shadows (as discussed with gw). Text shadows do not supply a any transform when calling fetch_glyphs, so if we don't make sure to request the glyphs without a transform, this will cause the crash in issue #2093. Crashtest supplied courtesy of mstange. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/2094) <!-- Reviewable:end -->
bors-servo
added a commit
that referenced
this issue
Nov 24, 2017
ensure that we request glyphs without a transform for text shadows This passes down the rasterization space information into TextRunPrimitiveCpu::prepare_for_render, so that we can ensure glyph requests are kicked off with no transform for text shadows (as discussed with gw). Text shadows do not supply a any transform when calling fetch_glyphs, so if we don't make sure to request the glyphs without a transform, this will cause the crash in issue #2093. Crashtest supplied courtesy of mstange. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/2094) <!-- Reviewable:end -->
|
This got fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After #2058, when I try to run the recorded yaml from #1817. I see this error:
when I run