RESOLVED FIXED 230592
Add FontCreationContext
https://bugs.webkit.org/show_bug.cgi?id=230592
Summary Add FontCreationContext
Myles C. Maxfield
Reported 2021-09-21 19:00:57 PDT
Add FontCreationContext
Attachments
Patch (56.77 KB, patch)
2021-09-21 19:05 PDT, Myles C. Maxfield
ews-feeder: commit-queue-
Patch (59.46 KB, patch)
2021-09-21 19:18 PDT, Myles C. Maxfield
zalan: review+
ews-feeder: commit-queue-
Patch for committing (65.76 KB, patch)
2021-09-21 20:31 PDT, Myles C. Maxfield
no flags
Myles C. Maxfield
Comment 1 2021-09-21 19:05:41 PDT
Radar WebKit Bug Importer
Comment 2 2021-09-21 19:06:20 PDT
Myles C. Maxfield
Comment 3 2021-09-21 19:18:34 PDT
zalan
Comment 4 2021-09-21 20:05:34 PDT
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.
Myles C. Maxfield
Comment 5 2021-09-21 20:31:39 PDT
Created attachment 438910 [details] Patch for committing
Myles C. Maxfield
Comment 6 2021-09-21 20:33:20 PDT
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. ❤️
Myles C. Maxfield
Comment 7 2021-09-21 21:06:24 PDT
Note You need to log in before you can comment on or make changes to this bug.