Bug 144076

Summary: [iOS] Caret does not line up with text when using the system font
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: enrica
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch enrica: review+

Myles C. Maxfield
Reported 2015-04-22 16:04:40 PDT
[iOS] Caret does not line up with text when using the system font
Attachments
Patch (5.75 KB, patch)
2015-04-22 16:11 PDT, Myles C. Maxfield
enrica: review+
Myles C. Maxfield
Comment 1 2015-04-22 16:11:36 PDT
Enrica Casucci
Comment 2 2015-04-22 16:15:33 PDT
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());
Myles C. Maxfield
Comment 3 2015-04-22 16:23:58 PDT
Note You need to log in before you can comment on or make changes to this bug.