[webkit-changes] [WebKit/WebKit] c38e7f: [Win Skia] FontCache::lastResortFallbackFont can't...

Fujii Hironori noreply at github.com
Tue Jan 21 17:08:51 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c38e7f31236ca7f712b57236200a1497884d4b4b
      https://github.com/WebKit/WebKit/commit/c38e7f31236ca7f712b57236200a1497884d4b4b
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/skia/FontCacheSkia.cpp

  Log Message:
  -----------
  [Win Skia] FontCache::lastResortFallbackFont can't find "serif" font on Windows
https://bugs.webkit.org/show_bug.cgi?id=286275

Reviewed by Don Olmstead.

`FontCache::lastResortFallbackFont` in FontCacheSkia.cpp has the
hard-coded "serif" font name. This works fine for Linux, but for
Windows.

Use "Times New Roman" font for Windows.

* Source/WebCore/platform/graphics/skia/FontCacheSkia.cpp:
(WebCore::FontCache::lastResortFallbackFont):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list