Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

jonahwilliams
Copy link
Contributor

Fixes flutter/flutter#121128

If a new glyph fit into the old atlas but the type changed we incorrectly reused the old atlas. make sure it is recreated if the type changes

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 27, 2023
@auto-submit auto-submit bot merged commit c0744c3 into flutter:main Feb 27, 2023
@jonahwilliams jonahwilliams deleted the fix_emoji_black_for_real branch February 27, 2023 17:04
dnfield pushed a commit to dnfield/engine that referenced this pull request Feb 27, 2023
[Impeller] dont append to existing atlas if type changed
@delfme
Copy link

delfme commented Mar 15, 2023

@jonahwilliams noticed this related to emojis

They get colored black if background is white

86EAA514-00F2-46AF-BFD4-9D517EFBB18C

They get color with the text color, if text is colored

EC9C4D97-5C87-42DB-AD67-670D538EF646

95CE37C0-9D91-4EBE-96A9-6EDFFE964A4D

No issue if background is back and text is white

01C493E5-4531-46F3-8C39-045FD9AB1FF0

No issue with Skia

@zanderso
Copy link
Member

@delfme Could you file an issue please? Or did you bisect the issue to this change?

@delfme
Copy link

delfme commented Mar 15, 2023

Idk if this issue of "emojis being colored with the text color" is connected to last change, He fixed black colored emojis, so spent time around emojis and their color. If he has an idea about what this can be, I would be happy not to file an issue. The code is from a closed source and would take me time to create a demo.

@delfme
Copy link

delfme commented Mar 16, 2023

I noticed that the bug required a more detailed explanation, so I filed below issue:

flutter/flutter#122798

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Impeller] Emojis become black occasionally
3 participants