[webkit-changes] [WebKit/WebKit] 95990e: [Fast text codepath] Slight cleanups after 267095 at ...

Myles C. Maxfield noreply at github.com
Thu Sep 14 01:26:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 95990ec923ef7e850b34f8c30fd046dd8c2da54c
      https://github.com/WebKit/WebKit/commit/95990ec923ef7e850b34f8c30fd046dd8c2da54c
  Author: Myles C. Maxfield <mmaxfield at apple.com>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/Font.h
    M Source/WebCore/platform/graphics/WidthIterator.cpp
    M Source/WebCore/platform/graphics/coretext/FontCoreText.cpp

  Log Message:
  -----------
  [Fast text codepath] Slight cleanups after 267095 at main
https://bugs.webkit.org/show_bug.cgi?id=261548
rdar://115471679

Reviewed by Cameron McCormack.

Most of this is stylistic. The only non-stylistic change is to
take the Mac/iOS codepath on all Apple platforms.

* Source/WebCore/platform/graphics/WidthIterator.cpp:
(WebCore::resetGlyphBuffer):
(WebCore::SmallCapsState::SmallCapsState):
(WebCore::SmallCapsState::setSmallCapsData):
(WebCore::WidthIterator::startNewFontRangeIfNeeded):
(WebCore::resetFontRangeIfNeeded):
(WebCore::WidthIterator::advanceInternal):
* Source/WebCore/platform/graphics/coretext/FontCoreText.cpp:
(WebCore::Font::variantCapsSupportedForSynthesis const):

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




More information about the webkit-changes mailing list