-
Notifications
You must be signed in to change notification settings - Fork 6k
Issue #146080 : Fix for incorrect STB based atlas glyph scaling #51882
Issue #146080 : Fix for incorrect STB based atlas glyph scaling #51882
Conversation
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact "@test-exemption-reviewer" in the #hackers channel in Chat (don't just cc them here, they won't see it! Use Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
Hey @johnoneil, it looks like you just need to apply the formatting listed under the failed builder ( Then, once all the builds pass, flutter-gold should run and show us how the goldens changed! |
353fda8
to
597f605
Compare
Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change). If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review. |
Golden file changes are available for triage from new commit, Click here to view. |
The golden result looks like there's a bounds mismatch happening somewhere. Perhaps the engine/impeller/typographer/backends/stb/text_frame_stb.cc Lines 20 to 22 in bbe63af
|
@bdero Thanks for looking at this Brandon. I'll see if I can take time to fix this today. |
31ad1bb
to
5f80179
Compare
Golden file changes are available for triage from new commit, Click here to view. |
Golden file changes are available for triage from new commit, Click here to view. |
Not sure what's going on with the goldens. This is looking pretty good locally. Low DPI (before on top, after on bottom): High DPI (before on top, after on bottom): Skia gold seems to sometimes get confused after a force push. Could you try pushing a new empty commit to your branch? |
Thanks for your time on this Brandon. Will try to push a blank commit shortly. We can review next week. |
I pushed a duplicate PR to mess with Skia gold and try to figure out what's going on #52209 |
The golden check is passing on my test PR, and also yours! Skia gold is still showing diffs for this PR, but it seems to be outdated. So I think this is actually good to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Golden file changes are available for triage from new commit, Click here to view. |
The issue where the Engine golden tests weren't running is fixed, and the golden diffs appear to look correct, so I approved them! |
@bdero I don't believe I have write access, and am unable to merge this. |
…147255) flutter/engine@066953b...f23cc4d 2024-04-23 30870216+gaaclarke@users.noreply.github.com [Impeller] Cleanup `PipelineVK::Create` (flutter/engine#52278) 2024-04-23 johnoneil@users.noreply.github.com Issue #146080 : Fix for incorrect STB based atlas glyph scaling (flutter/engine#51882) 2024-04-23 jason-simmons@users.noreply.github.com [Impeller] Do not call std::forward on the serialized arguments in the canvas recorder (flutter/engine#52307) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC jimgraham@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Fixes issue #146080
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.