[webkit-changes] [WebKit/WebKit] 7bc499: [Skia] Prefer text precise positioning on HiDPI

Carlos Garcia Campos noreply at github.com
Sat Oct 19 01:02:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7bc4999d07fcc1c5ecdb790e37ecf59689cdbb76
      https://github.com/WebKit/WebKit/commit/7bc4999d07fcc1c5ecdb790e37ecf59689cdbb76
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2024-10-19 (Sat, 19 Oct 2024)

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

  Log Message:
  -----------
  [Skia] Prefer text precise positioning on HiDPI
https://bugs.webkit.org/show_bug.cgi?id=281725

Reviewed by Adrian Perez de Castro.

By disabling hinting and enabling subpixel positioning and linear
metrics.

* Source/WebCore/platform/graphics/FontRenderOptions.h:
(WebCore::FontRenderOptions::setUseSubpixelPositioning):
(WebCore::FontRenderOptions::useSubpixelPositioning const):
* Source/WebCore/platform/graphics/skia/FontPlatformDataSkia.cpp:
(WebCore::FontPlatformData::FontPlatformData):
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::m_textAnimationController):
(WebKit::WebPage::setDeviceScaleFactor):

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