rive-app / rive-flutter

Flutter runtime for Rive
https://rive.app
MIT License
1.2k stars 188 forks source link

System Font Fallback #404

Open AzkabanPresident opened 3 months ago

AzkabanPresident commented 3 months ago

<-- Thanks for using Rive!

If something isn't working like you expected, please:

If you think you found a bug or if you can't find what you're looking for in our docs, fill out the template below.

-->

Description

<-- A clear and concise description of what the problem is. -->

Steps To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error ⚠️

Source .riv/.rev file

<-- Attaching runtime-exported .riv file that reproduces the issue is immensely helpful for our team to identify the problem as fast as possible and fix it. Please also include the source (.rev) by downloading a backup from the Editor.

N.B. Because GitHub only supports certain file types use a ZIP archive to upload .riv/.rev files to this issue.

You can also privately share the .riv/.rev file with us at hello@rive.app. -->

Expected behavior

<-- A clear and concise description of what you expected to happen. -->

Screenshots

<-- If applicable, add screenshots to help explain your problem. -->

Screenshot

Device & Versions (please complete the following information)

Additional context

<-- Add any other context about the problem here. -->

HayesGordon commented 3 months ago

Hi, @AzkabanPresident, this is dependent on the font that you use. If the font has these glyphs available, then it should show. Could you share with us a project that is not working as expected.

AzkabanPresident commented 3 months ago

Hi, @AzkabanPresident, this is dependent on the font that you use. If the font has these glyphs available, then it should show. Could you share with us a project that is not working as expected.

Yes.I change font now it works,thanks.I have another question,can I use system default fonts?Because custom font I use is too big

HayesGordon commented 1 month ago

@AzkabanPresident we've not started work into enabling system fonts for Flutter. Work for this is underway for our native iOS and Android runtimes. But we've not started an investigation to explore what the effort would be to support a system fallback system for Flutter