Skip to content

Chinese Font is render weird with FontWidget #26752

Description

@a396901990

Steps to Reproduce

screen shot 2019-01-18 at 7 51 45 pm
screen shot 2019-01-18 at 7 54 46 pm
screen shot 2019-01-18 at 7 55 12 pm

code:

child: Text(
            team.destination,
            style: Theme.of(context).textTheme.title,
            overflow: TextOverflow.fade,
            softWrap: false,
            maxLines: 1,
          ),

// title style is redefined in custom theme using FontWeight.w500:
title: base.title.copyWith(
      fontSize: 18.0,
      fontWeight: FontWeight.w500,
      color: TColors.kTextPrimary,
    )

Flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.1.10-pre.117, on Mac OS X 10.14.1 18B75, locale en-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.2)
[!] iOS toolchain - develop for iOS devices (Xcode 10.1)
    ✗ libimobiledevice and ideviceinstaller are not installed. To install with Brew, run:
        brew update
        brew install --HEAD usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
[✓] Android Studio (version 3.0)
[✓] VS Code (version 1.30.1)
[✓] Connected device (2 available)

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: typographyText rendering, possibly libtxtengineflutter/engine related. See also e: labels.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions