Summary: | Add FontCreationContext | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> | ||||||||
Component: | New Bugs | Assignee: | Myles C. Maxfield <mmaxfield> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | annulen, cdumez, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, japhet, macpherson, menard, ryuan.choi, sergio, webkit-bug-importer, zalan | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 230446, 230449 | ||||||||||
Attachments: |
|
Description
Myles C. Maxfield
2021-09-21 19:00:57 PDT
Created attachment 438903 [details]
Patch
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> |