Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b81575ac43fd15e5961ef99371dcc5d91609323f
      
https://github.com/WebKit/WebKit/commit/b81575ac43fd15e5961ef99371dcc5d91609323f
  Author: Myles C. Maxfield <[email protected]>
  Date:   2023-01-10 (Tue, 10 Jan 2023)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp
    M Source/WebCore/platform/graphics/cocoa/FontDatabase.cpp
    M Source/WebCore/platform/graphics/cocoa/FontDatabase.h

  Log Message:
  -----------
  [Cocoa] CTFontCreateForCharactersWithLanguageAndOption() is available on all 
Cocoa platforms
https://bugs.webkit.org/show_bug.cgi?id=250363
rdar://104063789

Reviewed by Tim Horton.

Simply unify the codepaths.

* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp:
(WebCore::preparePlatformFont):
(WebCore::createFontForCharacters):
(WebCore::FontCache::prewarm):
* Source/WebCore/platform/graphics/cocoa/FontDatabase.cpp:
(WebCore::FontDatabase::InstalledFont::InstalledFont):
(WebCore::FontDatabase::collectionForFamily):
(WebCore::FontDatabase::fontForPostScriptName):
* Source/WebCore/platform/graphics/cocoa/FontDatabase.h:

Canonical link: https://commits.webkit.org/258710@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to