-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
V2 is slower at rendering simple text #4514
Comments
Re inserting the fix should not be a problem. |
When scaling the blurriness comes from noScaleCache, that you can disable. |
Already disabled :( But it's still better than v1! |
that is strange. i would not expect the text to be blurred after a scale. like |
I cannot reproduce the tiny blur effect with simple fabric usage so I withdraw my remark, it's on my side :( |
v1 has a bypass for empty styles that v2 has not causing lines is twice longer to render. When using fabric use a log of text shapes this is a 100% perf hit compared to v1.
Temporary solution: using cache on those shapes (which improve perf a lot but add a little blur when scaling up and down)
Backport solution: porting the v1 check and logic into v2 like
The text was updated successfully, but these errors were encountered: