[webkit-changes] [WebKit/WebKit] 47c5a9: [Cocoa] kCTFontCSSWidthAttribute is available on a...
Myles C. Maxfield
noreply at github.com
Tue Jan 10 01:51:50 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 47c5a9d822626214d8ddb518090367ca524a0a87
https://github.com/WebKit/WebKit/commit/47c5a9d822626214d8ddb518090367ca524a0a87
Author: Myles C. Maxfield <mmaxfield at apple.com>
Date: 2023-01-10 (Tue, 10 Jan 2023)
Changed paths:
M Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp
Log Message:
-----------
[Cocoa] kCTFontCSSWidthAttribute is available on all Cocoa platforms
https://bugs.webkit.org/show_bug.cgi?id=250364
rdar://104064199
Reviewed by Tim Horton.
Simply unify the codepaths.
* Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp:
(WebCore::capabilitiesForFontDescriptor):
(WebCore::normalizeWidth): Deleted.
(WebCore::stretchFromCoreTextTraits): Deleted.
Canonical link: https://commits.webkit.org/258709@main
More information about the webkit-changes
mailing list