Skip to content

[Impeller] Investigate if glyphs should be cached with a canonicalized color #126101

@jonahwilliams

Description

@jonahwilliams

Skia uses https://github.com/google/skia/blob/f8a6c43e67847902aa3779482ca78e7beb88ebe4/src/text/gpu/TextBlob.cpp#L60 to compute a canonical color for caching glyphs. The color the text is drawn with has an implact on the anti aliasing pixels.

Previously we made a tradeoff to make dark text on light backgrounds look better, potentially at the cost of light text on dark backgrounds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecte: impellerImpeller rendering backend issues and features requestsengineflutter/engine repository. See also e: labels.waiting for PR to land (fixed)A fix is in flight

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions