Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c65588ef182ce51375347f72070c42ae30696b61
      
https://github.com/WebKit/WebKit/commit/c65588ef182ce51375347f72070c42ae30696b61
  Author: Vitor Roriz <[email protected]>
  Date:   2026-01-22 (Thu, 22 Jan 2026)

  Changed paths:
    M Source/WebCore/css/CSSFontFaceSource.cpp
    M Source/WebCore/loader/cache/CachedSVGFont.cpp

  Log Message:
  -----------
  [LDM] Disable SVG -> OTF Font Conversion
https://bugs.webkit.org/show_bug.cgi?id=306044
rdar://143072748

Reviewed by Brent Fulgham.

SafeFontParser does not support OpenType (OTF) fonts,
so we can fail early here instead of having it converted
and failing later at the parsing.

Current API tests already verify that it fails (see
LockdownModeFonts.SVGFonts test), we will just fail faster
and without invoking the parser.

* Source/WebCore/css/CSSFontFaceSource.cpp:
(WebCore::CSSFontFaceSource::load):
* Source/WebCore/loader/cache/CachedSVGFont.cpp:
(WebCore::CachedSVGFont::ensureCustomFontData):

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



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

Reply via email to