Closed
Bug 906704
Opened 12 years ago
Closed 12 years ago
rotated text with synthetic bolding causes infinite loop in text drawing
Categories
(Core :: Graphics: Text, defect)
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: ehsan.akhgari, Assigned: jtd)
References
()
Details
(Keywords: regression)
Attachments
(3 files)
|
157.57 KB,
image/png
|
Details | |
|
2.21 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
|
2.72 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Reporter | ||
Updated•12 years ago
|
Flags: needinfo?(jmuizelaar)
Summary: Paul → Paul's website hangs Nightly
| Reporter | ||
Comment 1•12 years ago
|
||
| Reporter | ||
Updated•12 years ago
|
URL: http://paul.cx
Updated•12 years ago
|
Flags: needinfo?(jmuizelaar)
Keywords: regression,
regressionwindow-wanted
| Reporter | ||
Comment 2•12 years ago
|
||
Hey Alice, any chance you could see if you can narrow this down please? Thanks a lot!
Comment 3•12 years ago
|
||
(In reply to :Ehsan Akhgari (needinfo? me!) from comment #2)
> Hey Alice, any chance you could see if you can narrow this down please?
> Thanks a lot!
I cannot reproduce the problem on Windows7 and Ubuntu.
And I cannot test this on Mac because I do not have Mac.
| Reporter | ||
Comment 4•12 years ago
|
||
Thanks, Alice!
Jeff, can you please see if you can make this bug actionable?
Flags: needinfo?(jmuizelaar)
Comment 5•12 years ago
|
||
It looks like we are stuck in gfxFont::Draw() calling GlyphBufferAzure::Flush() for ever.
Component: Graphics → Layout: Text
Flags: needinfo?(jmuizelaar)
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → jdaggett
| Assignee | ||
Comment 6•12 years ago
|
||
Simplified testcase:
http://people.mozilla.org/~jdaggett/tests/syntheticbold-rotated.html
Two problems here: the matrix code in gfxContext::UserToDevice(const gfxSize& size) is wrong (yikes!) and the synthetic bolding code isn't handling the singular matrix case, so it ends up with stamps = huge number and this causes an infinite loop while drawing. Scary part is this bug has been there since Bas added it in early 2012.
| Assignee | ||
Updated•12 years ago
|
Component: Layout: Text → Graphics: Text
| Assignee | ||
Updated•12 years ago
|
Summary: Paul's website hangs Nightly → rotated text with synthetic bolding causes infinite loop in text drawing
| Assignee | ||
Comment 7•12 years ago
|
||
Fix the matrix math error and check the result of CalcXScale.
Attachment #795895 -
Flags: review?(jmuizelaar)
| Assignee | ||
Comment 8•12 years ago
|
||
Reftest based on simplified testcase. This will cause the infinite loop in current trunk code and render correctly with patch.
Attachment #795897 -
Flags: review?(jmuizelaar)
Updated•12 years ago
|
Attachment #795895 -
Flags: review?(jmuizelaar) → review+
Updated•12 years ago
|
Attachment #795897 -
Flags: review?(jmuizelaar) → review+
Comment 9•12 years ago
|
||
Looks like this is the same issue Jesse filed in bug 895051. I'll dupe that report to this one, given that the fix is being done here.
| Assignee | ||
Comment 11•12 years ago
|
||
Comment 12•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3b40bd9e75c5
https://hg.mozilla.org/mozilla-central/rev/1bd4a6e58e21
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Comment 15•11 years ago
|
||
Issue is resolved - clearing old keywords - qa-wanted clean-up
Keywords: regressionwindow-wanted
You need to log in
before you can comment on or make changes to this bug.
Description
•