| Summary: | [iOS] Caret does not line up with text when using the system font | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> | ||||
| Component: | New Bugs | Assignee: | Myles C. Maxfield <mmaxfield> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | enrica | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Myles C. Maxfield
2015-04-22 16:04:40 PDT
Created attachment 251379 [details]
Patch
Comment on attachment 251379 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=251379&action=review Looks good. > Source/WebCore/ChangeLog:10 > + the complext text codepath must know about custom tracking. typo complex > Source/WebCore/platform/graphics/mac/SimpleFontDataCoreText.cpp:55 > + CFDictionarySetValue(mutableAttributes, kCTFontAttributeName, platformData().ctFont()); I would change this code to CFDictionarySetValue(mutableAttributes, kCTFontAttributeName, hasCustomTracking() ? platformData().font() : platformData().ctFont()); Committed r183153: <http://trac.webkit.org/changeset/183153> |