Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

xster
Copy link
Member

@xster xster commented Aug 21, 2020

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.

Copy link
Member

@jmagman jmagman left a 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.
Copy link
Contributor

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.

Copy link

@blasten blasten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chinmaygarde
Copy link
Member

@xster Are you making progress on this? Can you fix the remaining presub and land this?

@xster
Copy link
Member Author

xster commented Sep 3, 2020

Sorry, had to push 1.22 stuff first. I'll loop back to this next week.

@chinmaygarde
Copy link
Member

Can this land now?

@xster xster force-pushed the font-fallback-golden branch from 20cede8 to 7906b12 Compare September 18, 2020 08:02
@chinmaygarde
Copy link
Member

Some presubmits are still failing. Kicked them again.

@chinmaygarde
Copy link
Member

Closing this stale PR. Feel free to reopen when progress can be made. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants