{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/24234","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/24234/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/24234/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/24234/events","html_url":"https://github.com/flutter/flutter/issues/24234","id":379596381,"node_id":"MDU6SXNzdWUzNzk1OTYzODE=","number":24234,"title":"Text loses color on iPhone XR, 8, SE, 6 and 5s","user":{"login":"littlemarc2011","id":13179783,"node_id":"MDQ6VXNlcjEzMTc5Nzgz","avatar_url":"https://avatars1.githubusercontent.com/u/13179783?v=4","gravatar_id":"","url":"https://api.github.com/users/littlemarc2011","html_url":"https://github.com/littlemarc2011","followers_url":"https://api.github.com/users/littlemarc2011/followers","following_url":"https://api.github.com/users/littlemarc2011/following{/other_user}","gists_url":"https://api.github.com/users/littlemarc2011/gists{/gist_id}","starred_url":"https://api.github.com/users/littlemarc2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/littlemarc2011/subscriptions","organizations_url":"https://api.github.com/users/littlemarc2011/orgs","repos_url":"https://api.github.com/users/littlemarc2011/repos","events_url":"https://api.github.com/users/littlemarc2011/events{/privacy}","received_events_url":"https://api.github.com/users/littlemarc2011/received_events","type":"User","site_admin":false},"labels":[{"id":377877974,"node_id":"MDU6TGFiZWwzNzc4Nzc5NzQ=","url":"https://api.github.com/repos/flutter/flutter/labels/dependency:%20skia","name":"dependency: skia","color":"003570","default":false},{"id":283479807,"node_id":"MDU6TGFiZWwyODM0Nzk4MDc=","url":"https://api.github.com/repos/flutter/flutter/labels/e:%20device-specific","name":"e: device-specific","color":"003570","default":false},{"id":284438921,"node_id":"MDU6TGFiZWwyODQ0Mzg5MjE=","url":"https://api.github.com/repos/flutter/flutter/labels/engine","name":"engine","color":"003570","default":false},{"id":283479936,"node_id":"MDU6TGFiZWwyODM0Nzk5MzY=","url":"https://api.github.com/repos/flutter/flutter/labels/%E2%8C%BA%E2%80%AC%20platform-ios","name":"⌺‬ platform-ios","color":"003570","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/flutter/flutter/milestones/22","html_url":"https://github.com/flutter/flutter/milestone/22","labels_url":"https://api.github.com/repos/flutter/flutter/milestones/22/labels","id":2270094,"node_id":"MDk6TWlsZXN0b25lMjI3MDA5NA==","number":22,"title":"Goals","description":"P2: These are tasks we think are worth fixing in the coming years. It includes issues we've identified that might block fully shipping broad consumer-facing apps, correctness issues, and bugs relating to polish and quality.\r\n\r\nThe date on this milestone is utterly arbitrary and just intended to sort the milestone appropriately.","creator":{"login":"Hixie","id":551196,"node_id":"MDQ6VXNlcjU1MTE5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/551196?v=4","gravatar_id":"","url":"https://api.github.com/users/Hixie","html_url":"https://github.com/Hixie","followers_url":"https://api.github.com/users/Hixie/followers","following_url":"https://api.github.com/users/Hixie/following{/other_user}","gists_url":"https://api.github.com/users/Hixie/gists{/gist_id}","starred_url":"https://api.github.com/users/Hixie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hixie/subscriptions","organizations_url":"https://api.github.com/users/Hixie/orgs","repos_url":"https://api.github.com/users/Hixie/repos","events_url":"https://api.github.com/users/Hixie/events{/privacy}","received_events_url":"https://api.github.com/users/Hixie/received_events","type":"User","site_admin":false},"open_issues":1501,"closed_issues":631,"state":"open","created_at":"2017-01-23T00:27:59Z","updated_at":"2018-11-12T15:26:19Z","due_on":"2031-01-01T08:00:00Z","closed_at":null},"comments":1,"created_at":"2018-11-12T02:23:11Z","updated_at":"2018-11-12T19:45:51Z","closed_at":null,"author_association":"NONE","body":"Originally I came across this using ``flutter run -d all`` to view how the app looked on multiple devices, and I realized when I lowered the font weight that the text turned black on the iPhone SE. I then ran the app on only iPhone SE through IntelliJ and it yielded the same results (meaning it had nothing to do with it running on multiple devices at once). I got rid of the SizedBox and the same thing happened.\r\n\r\n## Font weight 500:\r\n![screen shot 2018-11-11 at 8 00 24 pm](https://user-images.githubusercontent.com/13179783/48322299-7f903580-e5ec-11e8-8080-863d2faa965b.png)\r\n\r\n## Font weight 900:\r\n![screen shot 2018-11-11 at 8 01 27 pm](https://user-images.githubusercontent.com/13179783/48322316-9767b980-e5ec-11e8-9a50-ef66b9bb8471.png)\r\n\r\nMaybe it was just the iPhone SE? Nope:\r\n![screen shot 2018-11-11 at 8 08 14 pm](https://user-images.githubusercontent.com/13179783/48322535-b155cc00-e5ed-11e8-98ad-bd0e05e5dc0b.png)\r\n\r\nAt this point I said heck with it and launched all of them:\r\n![screen shot 2018-11-11 at 8 20 19 pm](https://user-images.githubusercontent.com/13179783/48322923-7d7ba600-e5ef-11e8-8cbf-990488fd1f30.png)\r\n\r\n\r\n5s, 6, SE, 8 and XR all showed the text in black.\r\nXS Max, XS, X, 8 Plus and 7 Plus all showed the text correctly.\r\n\r\n## Steps to Reproduce\r\n\r\n```dart\r\nSizedBox(\r\n  width: double.infinity,\r\n    child: Text(\r\n      \"“\",\r\n      style: TextStyle(\r\n        color: Color(0xFFE971).withOpacity(1.0),\r\n        fontSize: 120.0,\r\n        fontFamily: \"Source Code Variable\",\r\n        fontWeight: FontWeight.w300,\r\n      ),\r\n      textAlign: TextAlign.left,\r\n   ),\r\n),\r\n```\r\n1. Use Source Code Variable Roman font (https://github.com/adobe-fonts/source-code-pro/releases)\r\n2. Use a font weight below 600 (600, 700, 800, 900 all have the correct color) or not including a font weight yields same result. I don't believe there is anything wrong with the font because it displays perfectly with all font weights on the iPhone XS Max and iPhone 8 Plus.\r\n3. Use the code above\r\n\r\n## flutter analyze\r\n```\r\nAnalyzing quotee...                                              \r\n\r\n   info • The value of the local variable 'prefs' isn't used • lib/main.dart:13:21 • unused_local_variable\r\n   info • Name non-constant identifiers using lowerCamelCase • lib/main.dart:18:22 • non_constant_identifier_names\r\n   info • Name non-constant identifiers using lowerCamelCase • lib/main.dart:19:22 • non_constant_identifier_names\r\n   info • Name non-constant identifiers using lowerCamelCase • lib/main.dart:20:22 • non_constant_identifier_names\r\n   info • Name non-constant identifiers using lowerCamelCase • lib/main.dart:21:22 • non_constant_identifier_names\r\n   info • Name non-constant identifiers using lowerCamelCase • lib/main.dart:22:22 • non_constant_identifier_names\r\n   info • Name non-constant identifiers using lowerCamelCase • lib/main.dart:23:22 • non_constant_identifier_names\r\n   info • Name non-constant identifiers using lowerCamelCase • lib/main.dart:24:22 • non_constant_identifier_names\r\n   info • Name non-constant identifiers using lowerCamelCase • lib/main.dart:27:17 • non_constant_identifier_names\r\n\r\n9 issues found. (ran in 1.6s)\r\n```\r\n\r\n\r\n## flutter doctor -v\r\n```\r\n[✓] Flutter (Channel master, v0.11.4-pre.5, on Mac OS X 10.14 18A391, locale en-US)\r\n    • Flutter version 0.11.4-pre.5 at /Users/bigmarco/Repositories/flutter\r\n    • Framework revision 70c6fb1fbb (7 hours ago), 2018-11-11 10:57:41 -0800\r\n    • Engine revision 5646e86a6f\r\n    • Dart version 2.1.0 (build 2.1.0-dev.9.3 9c07fb64c4)\r\n\r\n[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)\r\n    • Android SDK at /Users/bigmarco/Library/Android/sdk\r\n    • Android NDK location not configured (optional; useful for native profiling support)\r\n    • Platform android-28, build-tools 28.0.3\r\n    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java\r\n    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)\r\n    • All Android licenses accepted.\r\n\r\n[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)\r\n    • Xcode at /Applications/Xcode.app/Contents/Developer\r\n    • Xcode 10.0, Build version 10A255\r\n    • ios-deploy 2.0.0\r\n    • CocoaPods version 1.5.3\r\n\r\n[✓] Android Studio (version 3.2)\r\n    • Android Studio at /Applications/Android Studio.app/Contents\r\n    • Flutter plugin version 29.1.1\r\n    • Dart plugin version 181.5656\r\n    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)\r\n\r\n[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.4)\r\n    • IntelliJ at /Applications/IntelliJ IDEA.app\r\n    • Flutter plugin version 29.1.3\r\n    • Dart plugin version 182.4323.44\r\n\r\n[!] VS Code (version 1.28.2)\r\n    • VS Code at /Applications/Visual Studio Code.app/Contents\r\n    • Flutter extension not installed; install from\r\n      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter\r\n\r\n[✓] Connected device (1 available)\r\n    • iPhone SE • 42E5E469-59CA-4858-8F53-02A8400257BB • ios • iOS 12.0 (simulator)\r\n\r\n! Doctor found issues in 1 category.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/438005839","html_url":"https://github.com/flutter/flutter/issues/24234#issuecomment-438005839","issue_url":"https://api.github.com/repos/flutter/flutter/issues/24234","id":438005839,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODAwNTgzOQ==","user":{"login":"xster","id":156888,"node_id":"MDQ6VXNlcjE1Njg4OA==","avatar_url":"https://avatars2.githubusercontent.com/u/156888?v=4","gravatar_id":"","url":"https://api.github.com/users/xster","html_url":"https://github.com/xster","followers_url":"https://api.github.com/users/xster/followers","following_url":"https://api.github.com/users/xster/following{/other_user}","gists_url":"https://api.github.com/users/xster/gists{/gist_id}","starred_url":"https://api.github.com/users/xster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xster/subscriptions","organizations_url":"https://api.github.com/users/xster/orgs","repos_url":"https://api.github.com/users/xster/repos","events_url":"https://api.github.com/users/xster/events{/privacy}","received_events_url":"https://api.github.com/users/xster/received_events","type":"User","site_admin":false},"created_at":"2018-11-12T19:45:51Z","updated_at":"2018-11-12T19:45:51Z","author_association":"CONTRIBUTOR","body":"@GaryQian may know"}}
{"actor":{"display_login":"xster"}}