-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work liste: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.team-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Description
testFontRenderingWhenSuppliedWithBogusFont is failing with impeller turned on.
The test "tries to draw some text in a bogus font. Should end up drawing in the system default font."
final ParagraphBuilder paragraphBuilder =
ParagraphBuilder(ParagraphStyle(fontFamily: "some font that doesn't exist"))
..pushStyle(TextStyle(fontSize: 80))
..addText('One more thing...')
..pop();
final Paragraph paragraph = paragraphBuilder.build();$ ./flutter/tools/gn --no-goma --unoptimized --ios --simulator && ninja -C out/ios_debug_sim_unopt scenario_app
$ open out/ios_debug_sim_unopt/scenario_app/Scenarios/Scenarios.xcodeproj
Add FLTEnableImpeller => YES to ios_debug_sim_unopt/scenario_app/Scenarios/Scenarios/Info.plist.
Run -[BogusFontTextTest testFontRenderingWhenSuppliedWithBogusFont]
Should look like this:

but with impeller on shows a black screen:

See flutter/engine#22033 and #60013
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work liste: impellerImpeller rendering backend issues and features requestsImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.team-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team