[webkit-changes] [WebKit/WebKit] 7ec798: [Win] Remove the code rounding off glyph advances ...

Fujii Hironori noreply at github.com
Thu Jun 20 13:07:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7ec79836337c20eaff56aa3600437621e2e013f1
      https://github.com/WebKit/WebKit/commit/7ec79836337c20eaff56aa3600437621e2e013f1
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2024-06-20 (Thu, 20 Jun 2024)

  Changed paths:
    M LayoutTests/platform/wincairo/TestExpectations
    M Source/WebCore/platform/graphics/FontPlatformData.h
    M Source/WebCore/platform/graphics/win/ComplexTextControllerUniscribe.cpp
    M Source/WebCore/platform/graphics/win/FontPlatformDataWin.cpp
    M Source/WebCore/platform/graphics/win/cairo/FontPlatformDataWinCairo.cpp

  Log Message:
  -----------
  [Win] Remove the code rounding off glyph advances and offsets
https://bugs.webkit.org/show_bug.cgi?id=228536

Reviewed by Don Olmstead.

Since https://commits.webkit.org/18359@main added the code integrating
with Uniscribe for Windows port, it was rounding off glyph advances
and offsets.

However, this caused layout issues in some web pages especially with
high DPI display.

isSystemFont() method of FontPlatformData class is no longer used for
Windows port. Removed it.

* LayoutTests/platform/wincairo/TestExpectations:
* Source/WebCore/platform/graphics/FontPlatformData.h:
* Source/WebCore/platform/graphics/win/ComplexTextControllerUniscribe.cpp:
* Source/WebCore/platform/graphics/win/FontPlatformDataWin.cpp:
* Source/WebCore/platform/graphics/win/cairo/FontPlatformDataWinCairo.cpp:

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