-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterplatform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team
Description
Use case
If I type non-english letters not found in the bundled fonts in input boxes, tofu boxes are shown temporarily for seconds until suitable fonts are found and downloaded.
Tofu box looks like this.
This is unacceptable for end-user web applications.
Proposal
#77023 will fail if browser locale doesn't reflect one's languages. I propose a few other options.
- Expose font query API behind web browsers, and use it to find suitable system fonts automatically.
- Show loading animation in place of tofu boxes until suitable fonts are displayed. If several tofu boxes are displayed in a row, display them as one loading animation.
- Allow programmers to show a custom loading animation, and block further typing until font loading is done.
- Show a loading animation over the affected widgets, and block further typing until font loading is done.
- ...
I tested a japanese input method which can show multiple candidates for a romaji representation of a japanese word.
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterplatform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team
