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

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

Closed
zmtzawqlp opened this issue Nov 14, 2018 · 8 comments
Closed
Assignees
Labels
a: typography Text rendering, possibly libtxt engine flutter/engine repository. See also e: labels.

Comments

@zmtzawqlp
Copy link
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,));
@zmtzawqlp
Copy link
Contributor Author

1e765824af168a2323319eea1c1ff4fd
71c34ce92721532bc8032df2a1a03159

@zoechi zoechi added engine flutter/engine repository. See also e: labels. dependency: skia Skia team may need to help us a: typography Text rendering, possibly libtxt labels Nov 14, 2018
@zoechi zoechi added this to the Goals milestone Nov 14, 2018
@zoechi zoechi added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Nov 14, 2018
@zoechi
Copy link
Contributor

zoechi commented Nov 14, 2018

Please add the output of flutter doctor -v.

@zmtzawqlp
Copy link
Contributor Author

zmtzawqlp commented Nov 14, 2018

[√] 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)

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Nov 14, 2018
@zmtzawqlp
Copy link
Contributor Author

thanks,please check this issue.

@cixiu

This comment has been minimized.

@zoechi
Copy link
Contributor

zoechi commented Jan 17, 2019

@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.

@chinmaygarde chinmaygarde removed the dependency: skia Skia team may need to help us label Jan 28, 2019
@GaryQian
Copy link
Contributor

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

@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: typography Text rendering, possibly libtxt engine flutter/engine repository. See also e: labels.
Projects
None yet
Development

No branches or pull requests

5 participants