Skip to content

Auto Scale Text Issue #422

@tguerin

Description

@tguerin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions