rive-flutter icon indicating copy to clipboard operation
rive-flutter copied to clipboard

System Font Fallback

Open AzkabanPresident opened this issue 1 year ago • 3 comments

<-- Thanks for using Rive!

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

  • Make sure you've updated rive-flutter to the latest version: https://pub.dev/packages/rive/versions
  • Check out our help center https://help.rive.app/
  • You can file a new feature request at https://feedback.rive.app/

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 [email protected]. -->

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)

  • Device: [e.g. Android Emulator, iOS Simulator]
  • OS: [e.g. Android SDK API Level 30, iOS 14.5]
  • Flutter Version: Copy-paste the output of flutter --version e.g.:
Flutter 2.2.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 12a3456bc7 (2 eons ago) • 1970-01-01 08:56:01
Engine • revision 12a3456bc7
Tools • Dart 1.10.1

Additional context

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

AzkabanPresident avatar Jun 24 '24 03:06 AzkabanPresident

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.

HayesGordon avatar Jun 24 '24 09:06 HayesGordon

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

AzkabanPresident avatar Jun 25 '24 02:06 AzkabanPresident

@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

HayesGordon avatar Aug 09 '24 13:08 HayesGordon