Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color Emoji's on Web gone since Flutter upgrade #1265

Closed
Skquark opened this issue Apr 7, 2023 · 3 comments
Closed

Color Emoji's on Web gone since Flutter upgrade #1265

Skquark opened this issue Apr 7, 2023 · 3 comments
Labels
bug Something isn't working enhancement Improvement/Optimization

Comments

@Skquark
Copy link

Skquark commented Apr 7, 2023

There's been an issue with the emojis showing as black & white instead of the standard color emoji fonts since a Flutter 3.7 update a few months ago. As a result, I've had to pin my Flet install to flet==0.4.0.dev1070 since my project relies heavily on using Emojis everywhere, and primarily run on Web, and looked awful with the b&w simplified emoji font. I've been keeping up with the issue and the many complaints for a while waiting for a resolution, and there's finally a fix that needs an initializer for it to work.. See issue at flutter/flutter#119536 where the final post gives instructions to opt-in to the fix. "In order to get color emojis in your app, you need to pass useColorEmoji: true when initializing the engine (described here)."

Also saw a related issue here #957 with similar complaint. Hope this fix can be applied soon for the next flet release, I'd like to be running the latest since there's a few other upgrades to it that I'd like to take advantage of. Thanks.

@FeodorFitsner
Copy link
Contributor

Thank you for the hint, will take a look!

@FeodorFitsner FeodorFitsner added the bug Something isn't working label Apr 9, 2023
@FeodorFitsner
Copy link
Contributor

OK, flutter/engine#40990 was merged yesterday. There is no Flutter release with it yet. Will integrate the feature when it's released.

@FeodorFitsner
Copy link
Contributor

Test snippet:

import flet as ft

def main(page: ft.Page):
    page.add(ft.Text("Emoji: 📸 | 😂 | 📝 | 😉"))

ft.app(target=main)

FeodorFitsner added a commit that referenced this issue May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement Improvement/Optimization
Projects
None yet
Development

No branches or pull requests

2 participants