Bug 42279 - Certain text runs measure 1 pixel wider when measured as a whole than when measured piecewise
Summary: Certain text runs measure 1 pixel wider when measured as a whole than when me...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2010-07-14 12:32 PDT by mitz
Modified: 2010-08-10 22:27 PDT (History)
1 user (show)

See Also:


Attachments
Fix (6.56 KB, patch)
2010-07-14 14:32 PDT, mitz
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2010-07-14 12:32:32 PDT
<rdar://problem/7759909>

Due to the limited precision of the float type, with word- and run-rounding enabled, with certain fonts, measuring individual words in a text run and adding up the widths gives a different result from measuring the entire run.
Comment 1 mitz 2010-07-14 14:32:51 PDT
Created attachment 61567 [details]
Fix
Comment 2 mitz 2010-07-14 14:42:07 PDT
Fixed in <http://trac.webkit.org/projects/webkit/changeset/63357>.
Comment 3 Adam Barth 2010-08-10 22:27:28 PDT
This patch claims to have been landed.