Changeset 267116 in webkit


Ignore:
Timestamp:
Sep 15, 2020 5:06:45 PM (4 years ago)
Author:
mmaxfield@apple.com
Message:

[macOS Big Sur] CGFontRenderingGetFontSmoothingDisabled() is no longer useful
https://bugs.webkit.org/show_bug.cgi?id=216588
<rdar://problem/68657748>

Reviewed by Simon Fraser.

Source/WebCore:

No new tests because there is no behavior change.

  • platform/graphics/coretext/FontCascadeCoreText.cpp:

(WebCore::FontCascade::isSubpixelAntialiasingAvailable):

Source/WTF:

We can eliminate WebKit's use of it to eventually phase it out entirely.

  • wtf/PlatformHave.h:
Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r266980 r267116  
     12020-09-15  Myles C. Maxfield  <mmaxfield@apple.com>
     2
     3        [macOS Big Sur] CGFontRenderingGetFontSmoothingDisabled() is no longer useful
     4        https://bugs.webkit.org/show_bug.cgi?id=216588
     5        <rdar://problem/68657748>
     6
     7        Reviewed by Simon Fraser.
     8
     9        We can eliminate WebKit's use of it to eventually phase it out entirely.
     10
     11        * wtf/PlatformHave.h:
     12
    1132020-09-12  Simon Fraser  <simon.fraser@apple.com>
    214
  • trunk/Source/WTF/wtf/PlatformHave.h

    r266898 r267116  
    345345#endif
    346346
    347 #if PLATFORM(MAC)
     347#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 110000
    348348#define HAVE_CG_FONT_RENDERING_GET_FONT_SMOOTHING_DISABLED 1
    349349#endif
  • trunk/Source/WebCore/ChangeLog

    r267112 r267116  
     12020-09-15  Myles C. Maxfield  <mmaxfield@apple.com>
     2
     3        [macOS Big Sur] CGFontRenderingGetFontSmoothingDisabled() is no longer useful
     4        https://bugs.webkit.org/show_bug.cgi?id=216588
     5        <rdar://problem/68657748>
     6
     7        Reviewed by Simon Fraser.
     8
     9        No new tests because there is no behavior change.
     10
     11        * platform/graphics/coretext/FontCascadeCoreText.cpp:
     12        (WebCore::FontCascade::isSubpixelAntialiasingAvailable):
     13
    1142020-09-15  Myles C. Maxfield  <mmaxfield@apple.com>
    215
  • trunk/Source/WebCore/platform/graphics/coretext/FontCascadeCoreText.cpp

    r267097 r267116  
    5757    });
    5858    return subpixelAntialiasingEnabled;
    59 #elif PLATFORM(MAC)
    60     return true;
    6159#else
    6260    return false;
Note: See TracChangeset for help on using the changeset viewer.