Skip to content

Text is not gamma corrected #230

Closed
Closed
@jrmuizel

Description

@jrmuizel

On Windows and OS X text is blended in a way that tries to be more correct gamma.

For example, OS X blends using a gamma of 2.0. CoreGraphics implements this by reading from the destination framebuffer while shading (this is supported on all platforms that CoreGraphics runs on). Skia has a pre-blend step that tries to mimic this without needing to read from the framebuffer. See SkTMaskGamma_build_correcting_lut near https://skia.googlesource.com/skia.git/+/master/src/core/SkMaskGamma.cpp#78

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions