Bug 128071
Summary: | Subpixel rendering: Floor thickness and length after switching from int to float. | ||
---|---|---|---|
Product: | WebKit | Reporter: | zalan <zalan> |
Component: | Layout and Rendering | Assignee: | zalan <zalan> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | darin |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
zalan
This is a temporary solution to fix the assertion on empty line drawing until after bug 128009 is landed.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
zalan
Committed r163264: <http://trac.webkit.org/changeset/163264>
Darin Adler
On a float it should be floorf. Calling floor will convert to a double, then floor, and then convert back to a float.
zalan
(In reply to comment #2)
> On a float it should be floorf. Calling floor will convert to a double, then floor, and then convert back to a float.
hmm, how did I miss that! Thanks. I am planning to land the proper fix for this later today.