[webkit-changes] [WebKit/WebKit] 9ebeef: [Skia] Enable text subpixel positioning when not r...

Carlos Garcia Campos noreply at github.com
Thu Oct 17 22:56:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9ebeefe8a6b07044fc8cd624ac88f7451bab82e1
      https://github.com/WebKit/WebKit/commit/9ebeefe8a6b07044fc8cd624ac88f7451bab82e1
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2024-10-17 (Thu, 17 Oct 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/FontRenderOptions.h
    M Source/WebCore/platform/graphics/skia/FontPlatformDataSkia.cpp

  Log Message:
  -----------
  [Skia] Enable text subpixel positioning when not running tests and not full hinting
https://bugs.webkit.org/show_bug.cgi?id=281664

Reviewed by Adrian Perez de Castro.

This matches chromium behavior and improves the kerning when hinting is
not disabled or slight. Also force full hinting when antialias is
disabled, which also matches chromium and Cairo.

* Source/WebCore/platform/graphics/FontRenderOptions.h:
(WebCore::FontRenderOptions::isHintingDisabledForTesting const):
* Source/WebCore/platform/graphics/skia/FontPlatformDataSkia.cpp:
(WebCore::FontPlatformData::FontPlatformData):

Canonical link: https://commits.webkit.org/285378@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