Skip to content

Hebrew text is not properly vertically aligned  #27033

@jossef

Description

@jossef

My app's layout is RTL. When I'm using Hebrew text the bounding box increases and the text slightly top-padded which makes things hard to vertically align center.

Example without Hebrew:

    Row(
      children: [
        Container(
          color: Colors.red,
          width: 24,
          height: 24,
        ),
        Container(
          color: Colors.red,
          child: Text("world"),
        ),
        Container(
          color: Colors.yellow,
          child: Text("hello"),
        ),
      ],
    );

image


Example with Hebrew:

    Row(
      children: [
        Container(
          color: Colors.red,
          width: 24,
          height: 24,
        ),
        Container(
          color: Colors.red,
          child: Text("כככ"),
        ),
        Container(
          color: Colors.yellow,
          child: Text("hello"),
        ),
      ],
    );

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: internationalizationSupporting other languages or locales. (aka i18n)a: typographyText rendering, possibly libtxtengineflutter/engine related. See also e: labels.found in release: 3.3Found to occur in 3.3found in release: 3.6Found to occur in 3.6has reproducible stepsThe issue has been confirmed reproducible and is ready to work onr: fixedIssue is closed as already fixed in a newer versionteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions