RESOLVED FIXED Bug 31747
Chromium Linux: Limit the stroke width and mitre limit
https://bugs.webkit.org/show_bug.cgi?id=31747
Summary Chromium Linux: Limit the stroke width and mitre limit
Adam Langley
Reported 2009-11-20 14:39:15 PST
Chromium Linux: Limit the stroke width and mitre limit that we'll pass into Skia to avoid overflowing Skia's uint16_t glyph widths.
Attachments
patch (2.18 KB, patch)
2009-11-20 14:40 PST, Adam Langley
no flags
patch (2.35 KB, patch)
2009-11-23 11:32 PST, Adam Langley
dimich: review+
Adam Langley
Comment 1 2009-11-20 14:40:54 PST
Dmitry Titov
Comment 2 2009-11-20 22:16:05 PST
It'd be useful to document in the bug and/or comment why did you use 512 and 256. If this is a random choice, that's fine but it's useful to put it in writing so the next person reading the code does not have to guess if there is some magic meaning behind those. Or if there is magic meaning, it's even more useful to document :-)
Adam Langley
Comment 3 2009-11-23 11:32:48 PST
Created attachment 43723 [details] patch Good point about the comment. Have added one.
Dmitry Titov
Comment 4 2009-11-23 11:57:52 PST
Comment on attachment 43723 [details] patch r=me
Adam Langley
Comment 5 2009-11-23 14:13:53 PST
Note You need to log in before you can comment on or make changes to this bug.