[Cocoa] Honor the 'trak' table by opting in via text-rendering: optimizeLegibility
Created attachment 259234 [details] Patch
<rdar://problem/22291561>
Created attachment 259238 [details] Patch
Created attachment 259241 [details] Patch
Created attachment 259242 [details] Patch
Created attachment 259244 [details] Patch
Created attachment 259251 [details] Patch
Created attachment 259257 [details] Patch
Comment on attachment 259257 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=259257&action=review > Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp:154 > + RetainPtr<CFDictionaryRef> dictionary; "dictionary"? maybe a better name here. "attributes"? > Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp:158 > + CFTypeRef keys[] = { kCTFontFeatureSettingsAttribute, kCTFontOpticalSizeAttribute }; I assume the reason for all the duplication here (instead of building up the dictionary) is performance, or something? Is this hot code? You could definitely make this more readable/less full of duplicated code.
Committed r188591: <http://trac.webkit.org/changeset/188591>
Committed r188597: <http://trac.webkit.org/changeset/188597>
Also http://trac.webkit.org/changeset/188743
Removing Mavericks-specific lines from platform/mac/TestExpecations due to no longer supporting Mavericks.
Committed r193663: <http://trac.webkit.org/changeset/193663>