| Summary: | [Cocoa] Migrate from CTFontCopyVariationAxes() to CTFontCopyVariationAxesInternal() if possible | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> | ||||||||||||||
| Component: | New Bugs | Assignee: | 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
Myles C. Maxfield
2021-11-03 16:59:10 PDT
Created attachment 443255 [details]
Patch
Created attachment 443271 [details]
Patch
Created attachment 443272 [details]
Patch
Created attachment 443273 [details]
Patch
Created attachment 443275 [details]
Patch
Created attachment 443279 [details]
Patch
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? 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. :-) Committed r285318 (243890@main): <https://commits.webkit.org/243890@main> 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. Re-opened since this is blocked by bug 232894 Committed r285552 (244066@main): <https://commits.webkit.org/244066@main> |