Bug 232690

Summary: [Cocoa] Migrate from CTFontCopyVariationAxes() to CTFontCopyVariationAxesInternal() if possible
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: annulen, commit-queue, ews-watchlist, gyuyoung.kim, heycam, hi, joepeck, pangle, ryuan.choi, sergio, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 232894    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
ews-feeder: commit-queue-
Patch
none
Patch
none
Patch simon.fraser: review+

Myles C. Maxfield
Reported 2021-11-03 16:59:10 PDT
[Cocoa] Migrate from CTFontCopyVariationAxes() to CTFontCopyVariationAxesInternal() if possible
Attachments
Patch (16.78 KB, patch)
2021-11-03 17:01 PDT, Myles C. Maxfield
no flags
Patch (6.56 KB, patch)
2021-11-03 21:23 PDT, Myles C. Maxfield
no flags
Patch (6.47 KB, patch)
2021-11-03 21:25 PDT, Myles C. Maxfield
ews-feeder: commit-queue-
Patch (6.92 KB, patch)
2021-11-03 21:31 PDT, Myles C. Maxfield
no flags
Patch (8.13 KB, patch)
2021-11-03 21:33 PDT, Myles C. Maxfield
no flags
Patch (16.67 KB, patch)
2021-11-04 00:08 PDT, Myles C. Maxfield
simon.fraser: review+
Myles C. Maxfield
Comment 1 2021-11-03 17:01:12 PDT
Myles C. Maxfield
Comment 2 2021-11-03 21:23:34 PDT
Myles C. Maxfield
Comment 3 2021-11-03 21:25:24 PDT
Myles C. Maxfield
Comment 4 2021-11-03 21:31:15 PDT
Myles C. Maxfield
Comment 5 2021-11-03 21:33:56 PDT
Myles C. Maxfield
Comment 6 2021-11-04 00:08:43 PDT
Simon Fraser (smfr)
Comment 7 2021-11-04 14:06:44 PDT
Comment on attachment 443279 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=443279&action=review > Source/WebCore/platform/graphics/ShouldLocalizeAxisNames.h:35 > +enum class ShouldLocalizeAxisNames : uint8_t { > + No, > + Yes > +}; Is there a reason this can't just live in FontPlatformData.h?
Cameron McCormack (:heycam)
Comment 8 2021-11-04 14:08:05 PDT
Comment on attachment 443279 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=443279&action=review > Source/WebCore/platform/graphics/ShouldLocalizeAxisNames.h:2 > + * Copyright (C) 2010 Apple Inc. All rights reserved. 2021 (if you don't end up moving it) > Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp:305 > +#if defined(HAVE_CTFontCopyVariationAxesInternal) // This macro is defined inside CoreText, not WebKit. Thanks for the comment otherwise I would've complained about the capitalization here. :-)
Myles C. Maxfield
Comment 9 2021-11-04 16:18:32 PDT
Myles C. Maxfield
Comment 10 2021-11-04 16:19:05 PDT
Comment on attachment 443279 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=443279&action=review >> Source/WebCore/platform/graphics/ShouldLocalizeAxisNames.h:35 >> +}; > > Is there a reason this can't just live in FontPlatformData.h? I would have preferred to put this in a common place, but this has to be visible from both FontPlatformData.h and FontCacheCoreText.h. There is no header (that isn't single-purpose like FontTaggedSettings.h or FontSelectionAlgorithm.h) which is included from both of those places.
Radar WebKit Bug Importer
Comment 11 2021-11-04 16:19:29 PDT
WebKit Commit Bot
Comment 12 2021-11-09 11:02:34 PST
Re-opened since this is blocked by bug 232894
Myles C. Maxfield
Comment 13 2021-11-09 17:58:16 PST
Note You need to log in before you can comment on or make changes to this bug.