Summary: | REGRESSION (r126763): Incorrect line breaking when both kerning and word spacing are enabled | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | mitz | ||||
Component: | Text | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | ned | ||||
Priority: | P1 | Keywords: | Regression | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
URL: | data:text/html,%3Cdiv%20style=%22border:%20solid;%20width:%2050px;%20word-spacing:%2050px;%20-webkit-font-kerning:%20normal;%22%3Ea%20b%3C/div%3E | ||||||
Attachments: |
|
Description
mitz
2012-09-20 18:48:38 PDT
Please ignore the original description. The failure happens when the test is modified to enable kerning. The URL contains a reduction. <div style="border: solid; width: 50px; word-spacing: 50px; -webkit-font-kerning: normal;">a b</div> TextLayout uses fontWithNoWordSpacing… Created attachment 165064 [details]
Make TextLayout::width() apply word spacing except at the first character of a run
Fixed in <http://trac.webkit.org/r129233>. |