-
Notifications
You must be signed in to change notification settings - Fork 6k
Add a golden scenario test for fallback font rendering on iOS #20687
Conversation
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!
import 'scenario.dart'; | ||
|
||
/// Tries to draw some text in a bogus font. Should end up drawing in the | ||
/// system default font. |
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.
Can we add a platform view that does the same in the same view?
That way, it'll be very clear when updating goldens whether or not the change is legit.
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
@xster Are you making progress on this? Can you fix the remaining presub and land this? |
Sorry, had to push 1.22 stuff first. I'll loop back to this next week. |
Can this land now? |
20cede8
to
7906b12
Compare
Some presubmits are still failing. Kicked them again. |
Closing this stale PR. Feel free to reopen when progress can be made. Thanks. |
Somewhat related to flutter/flutter#60013. If user specifies a font that doesn't exist, it should properly fallback to the SF font and render it correctly. Needs #20557 to render the right font.
@blasten I'm removing those iPhone SE images as previously discussed. Pull a modular golden test part out of the platform view stuff.