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
Performance regression in 4.41.0? #3213
Comments
Thanks for the report. However I don't immediately see anything related to pyftsubset in the changes since 4.40.0 that might have caused such regression: I'll keep investigating |
…speed regression Intended to fix #3213 Revert "Implement Cosimo feedback" This reverts commit cfede76. Revert "remove redundant CPAL name removal code" This reverts commit b563941. Revert "convert name table _prune_pre_subset to prune_post_subset" This reverts commit 0a6e8bf. Revert "Use NameRecordVisitor in subsetter" This reverts commit edf8891.
I suspect it might have to do with this PR where we use a new NameVisitor object to traverse the entire font to look for any nameID that may be used in various tables: #3185 |
Just posting here for record keeping, but as mentioned in the pr: #3214 (comment) I have run the script with the patched fonttools and no longer see the issue (pyftmerge does not take 6 hours) |
Perhaps we can call the visitor only on certain tables. I'm guessing that it's expanding all glyf's here causing the slowdown. |
See: satbyy/go-noto-universal#59
Using 4.41.0 the builds take longer than 6 hours, but using 4.40.0 it takes 20ish minutes. Not too sure what is going on since I am not familiar with either project but just thought I would point it out
The text was updated successfully, but these errors were encountered: