Add FontCreationContext
Created attachment 438903 [details] Patch
<rdar://problem/83379889>
Created attachment 438906 [details] Patch
Comment on attachment 438906 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=438906&action=review > Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp:579 > - auto attributes = adoptCF(CFDictionaryCreateMutable(kCFAllocatorDefault, 2, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks)); > + auto attributes = adoptCF(CFDictionaryCreateMutable(kCFAllocatorDefault, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks)); TIL Pass 0 to specify that the maximum capacity is not limited.
Created attachment 438910 [details] Patch for committing
Comment on attachment 438906 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=438906&action=review >> Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp:579 >> + auto attributes = adoptCF(CFDictionaryCreateMutable(kCFAllocatorDefault, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks)); > > TIL Pass 0 to specify that the maximum capacity is not limited. ❤️
Committed r282863 (241994@main): <https://commits.webkit.org/241994@main>