-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[Impeller] Implement path based text rendering. #112213
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
Comments
@chinmaygarde can you describe the scope of this goal? I've been working with @slightfoot for some time on custom glyph rendering in Flutter because We've explored using standard curves to paint individual glyphs. We've explored pre-painting fonts to textures and then drawing glyphs with If Flutter is going to bring more granular control to text painting, I'd really like for our use-case to make it on the roadmap, and ensure that we can use any such new Flutter APIs. |
This issue doesn't track modifying the existing Flutter APIs in any way. It just that Impeller's text rendering today is extremely rudimentary in that it only uses glyph atlases with glyphs in them rendered at-scale. This works in most cases but is slow or takes up more memory than necessary (especially relative to the benchmark) for extremely large glyphs (when they are zoomed in). This issue along with a related on for SDF based rendering (which has already been implemented by not wired up in the high level interface) rounds out text rendering strategies necessary for ideal text rending support with Impeller. |
This might also lead to the fix of the infamous emojis rendering issue #28894 |
@jonahwilliams implemented this in flutter/engine#41402 to get numbers and also did a comparative study of Skias text rendering strategies. The finding was that that this isn't something that is used today for any point size. While it's good to know that we could use this approach if we needed to, it doesn't have a current use-case. Closing this as wont-fix and putting the patch in the icebox. |
Yes, two important points:
|
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
No description provided.
The text was updated successfully, but these errors were encountered: