Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Scale Text Issue #422

Open
tguerin opened this issue Sep 24, 2024 · 0 comments
Open

Auto Scale Text Issue #422

tguerin opened this issue Sep 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tguerin
Copy link

tguerin commented Sep 24, 2024

Description

We're trying to use the auto scale feature in our project. It works perfectly in the editor, but once we integrate it into our Flutter app, the text breaks into multiple lines. We are using the 0.13.13 version.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Define rive with fit text
    Screenshot 2024-09-23 at 22 33 18

  2. Load rive in flutter

  3. Trigger text update with long text

  4. Text breaks on multiline

Source .riv/.rev file

text_fit_scale.riv.zip

Expected behavior

The text should size down

Screenshots

Screen.Recording.2024-09-24.at.09.52.39.mov

Device & Versions (please complete the following information)

Mainly tested on simulator

Flutter 3.24.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 5874a72aa4 (5 weeks ago) • 2024-08-20 16:46:00 -0500
Engine • revision c9b9d5780d
Tools • Dart 3.5.1 • DevTools 2.37.2

Additional context

Tested on Impeller and Skia.

@tguerin tguerin added the bug Something isn't working label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant