Skip to content

Text background paint has light line on top ,and miss some Chinese word #24335

@zmtzawqlp

Description

@zmtzawqlp
Contributor

Steps to Reproduce

issue1

when background is an opacity color,a line will show at top.

var color = Color(0xfffe7801);
 var colorb = color.withOpacity(0.1);

    Paint paint=new Paint();
    paint.color = colorb;
   var ts = Text(
        "  悬赏 ¥ " +"ddddddddddddd" + "  ",
        style: TextStyle(color: color, background: paint, fontSize: 13.0,));

issue2

when background is an opacity 1.0 color, the Chinese words is missing.

var color=Colors.black;
    var colorb=Colors.green;
    Paint paint=new Paint();
    paint.color = colorb;
   var ts = Text(
        "  悬赏 ¥ " +"ddddddddddddd" + "  ",
        style: TextStyle(color: color, background: paint, fontSize: 13.0,));

Activity

zmtzawqlp

zmtzawqlp commented on Nov 14, 2018

@zmtzawqlp
ContributorAuthor

1e765824af168a2323319eea1c1ff4fd
71c34ce92721532bc8032df2a1a03159

added
engineflutter/engine repository. See also e: labels.
a: typographyText rendering, possibly libtxt
on Nov 14, 2018
added this to the Goals milestone on Nov 14, 2018
added
waiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds
on Nov 14, 2018
zoechi

zoechi commented on Nov 14, 2018

@zoechi
Contributor

Please add the output of flutter doctor -v.

zmtzawqlp

zmtzawqlp commented on Nov 14, 2018

@zmtzawqlp
ContributorAuthor
[√] Flutter (Channel master, v0.10.2-pre.47, on Microsoft Windows [Version 10.0.17134.345], locale zh-CN)
    • Flutter version 0.10.2-pre.47 at D:\Flutter\flutter
    • Framework revision 9dfc0f3aaa (3 weeks ago), 2018-10-24 07:22:08 +0100
    • Engine revision 2586e94122
    • Dart version 2.1.0-dev.7.1.flutter-45f9462398

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at D:\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = D:\Android\sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
    • All Android licenses accepted.

[√] Android Studio (version 3.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 28.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)

[√] Connected device (1 available)
    • MI 6 • 5a4b233b • android-arm64 • Android 8.0.0 (API 26)
removed
waiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds
on Nov 14, 2018
zmtzawqlp

zmtzawqlp commented on Nov 14, 2018

@zmtzawqlp
ContributorAuthor

thanks,please check this issue.

cixiu

cixiu commented on Jan 17, 2019

@cixiu
zoechi

zoechi commented on Jan 17, 2019

@zoechi
Contributor

@cixiu Using "add reaction" on the initial comment would increase priority while +1 comments are rather pointless and cause lots of people to get notified for no reason.
To get notified yourself use the [Subscribe] button to the top right instead.

GaryQian

GaryQian commented on Jan 28, 2019

@GaryQian
Contributor

Closing as is a duplicate of #24337 please continue to track and comment on the other issue

github-actions

github-actions commented on Aug 14, 2021

@github-actions

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

locked as resolved and limited conversation to collaborators on Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @chinmaygarde@zoechi@GaryQian@zmtzawqlp@cixiu

      Issue actions

        Text background paint has light line on top ,and miss some Chinese word · Issue #24335 · flutter/flutter