Bug 128071
| Summary: | Subpixel rendering: Floor thickness and length after switching from int to float. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | alan <zalan> |
| Component: | Layout and Rendering | Assignee: | alan <zalan> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | darin |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
alan
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. |
alan
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.
alan
(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.