Skip to content

Support real fonts in flutter test #17700

@tvolkert

Description

@tvolkert

This would be especially handy in screenshot tests. e.g. @HansMuller has a use case for a screenshot test where he verifies that we're aligning everything correctly to the font's baseline.

Proposed interface:

$ flutter test --font=<path/to/font.ttf>

This would trigger the test to not specify --use-test-fonts in the shell arguments and instead pass the user-specified font to the shell.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions