[Webkit-unassigned] [Bug 247987] Regression: "font-optical-sizing: auto" has no effect in Safari 16 on macOS Ventura & iOS 16

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 10 01:44:47 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=247987

--- Comment #15 from Myles C. Maxfield <mmaxfield at apple.com> ---
Sites that need to be fixed up:

- SystemFontDatabaseCoreText
  - createSystemUIFont()
  - createFontByApplyingWeightWidthItalicsAndFallbackBehavior()
- createFontForInstalledFonts()
- fontWithFamilySpecialCase()
- platformFontLookupWithFamily() (which could benefit from an enum)
- lookupFallbackFont()
- FontFamilySpecificationCoreText::fontRanges()
- FontCustomPlatformData::fontPlatformData()

Hiccups:
- CTFontCreateUIFontForLanguage() returns a font, not a font descriptor
- CTFontCreateForCharactersWithLanguageAndOption() returns a font, not a font descriptor

In order to avoid creating a bunch of derived CTFontDescriptors, I think I'm going to make a new type name, maybe PartialFontDescriptor, and have it be typedefed to CFMutableDictionary or something. That way, a bunch of functions can collaborate on building it, then at the end it can be turned into a font descriptor. Maybe that won't work in practice, but I'd like to try to do it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230110/d39624cd/attachment.htm>


More information about the webkit-unassigned mailing list