{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/23093","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/23093/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/23093/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/23093/events","html_url":"https://github.com/godotengine/godot/issues/23093","id":371202325,"node_id":"MDU6SXNzdWUzNzEyMDIzMjU=","number":23093,"title":"Most emojis don't work on Windows","user":{"login":"mrcdk","id":483531,"node_id":"MDQ6VXNlcjQ4MzUzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/483531?v=4","gravatar_id":"","url":"https://api.github.com/users/mrcdk","html_url":"https://github.com/mrcdk","followers_url":"https://api.github.com/users/mrcdk/followers","following_url":"https://api.github.com/users/mrcdk/following{/other_user}","gists_url":"https://api.github.com/users/mrcdk/gists{/gist_id}","starred_url":"https://api.github.com/users/mrcdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrcdk/subscriptions","organizations_url":"https://api.github.com/users/mrcdk/orgs","repos_url":"https://api.github.com/users/mrcdk/repos","events_url":"https://api.github.com/users/mrcdk/events{/privacy}","received_events_url":"https://api.github.com/users/mrcdk/received_events","type":"User","site_admin":false},"labels":[{"id":73330064,"node_id":"MDU6TGFiZWw3MzMzMDA2NA==","url":"https://api.github.com/repos/godotengine/godot/labels/bug","name":"bug","color":"ff2222","default":true},{"id":205417413,"node_id":"MDU6TGFiZWwyMDU0MTc0MTM=","url":"https://api.github.com/repos/godotengine/godot/labels/platform:windows","name":"platform:windows","color":"dddddd","default":false},{"id":279097966,"node_id":"MDU6TGFiZWwyNzkwOTc5NjY=","url":"https://api.github.com/repos/godotengine/godot/labels/topic:core","name":"topic:core","color":"ffdd44","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-10-17T18:08:17Z","updated_at":"2018-10-21T07:37:58Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!-- Please search existing issues for potential duplicates before filing yours:\r\nhttps://github.com/godotengine/godot/issues?q=is%3Aissue\r\n-->\r\n\r\n**Godot version:**\r\n<!-- Specify commit hash if non-official. -->\r\nGodot 3.1 master https://github.com/godotengine/godot/commit/0d8284d3d4f439e074bf498af81e8c73be23cc67\r\n\r\n**OS/device including version:**\r\n<!-- Specify GPU model and drivers if graphics-related. -->\r\nWindow 10\r\n\r\n**Issue description:**\r\n<!-- What happened, and what was expected. -->\r\nIn theory, emoji support was added with this PR https://github.com/godotengine/godot/pull/15780 but I've been testing it and I can't get it to work. I tested it with  the NotoColorEmoji.ttf font. That's the font I think @volzhs used for both that PR and this issue https://github.com/godotengine/godot/issues/10873 but I couldn't make it work. The font doesn't work on windows (opening it with the font viewer throws an error) because Windows doesn't support the type of color font https://github.com/googlei18n/noto-emoji/issues/43 But I'm not sure if it has anything to do with the issue.\r\n\r\n**Steps to reproduce:**\r\n1. Download the font https://www.google.com/get/noto/#emoji-zsye-color\r\n2. Use it in a label with an emoji like 😄 \r\n"},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/431646362","html_url":"https://github.com/godotengine/godot/issues/23093#issuecomment-431646362","issue_url":"https://api.github.com/repos/godotengine/godot/issues/23093","id":431646362,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTY0NjM2Mg==","user":{"login":"bruvzg","id":7645683,"node_id":"MDQ6VXNlcjc2NDU2ODM=","avatar_url":"https://avatars0.githubusercontent.com/u/7645683?v=4","gravatar_id":"","url":"https://api.github.com/users/bruvzg","html_url":"https://github.com/bruvzg","followers_url":"https://api.github.com/users/bruvzg/followers","following_url":"https://api.github.com/users/bruvzg/following{/other_user}","gists_url":"https://api.github.com/users/bruvzg/gists{/gist_id}","starred_url":"https://api.github.com/users/bruvzg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruvzg/subscriptions","organizations_url":"https://api.github.com/users/bruvzg/orgs","repos_url":"https://api.github.com/users/bruvzg/repos","events_url":"https://api.github.com/users/bruvzg/events{/privacy}","received_events_url":"https://api.github.com/users/bruvzg/received_events","type":"User","site_admin":false},"created_at":"2018-10-21T07:37:58Z","updated_at":"2018-10-21T07:37:58Z","author_association":"CONTRIBUTOR","body":">How a bout switch to `char32_t`? \r\n\r\n`char32_t` and `char16_t` are C++11 types and Godot currently targets C++03.\r\n\r\nAnd it's probably better to switch to UTF-16 instead for several reasons:\r\n- Windows APIs (and JavaScript APIs IIRC) use UTF-16 (input, copy-paste, filesystem), Linux/macOS APIs use UTF-8, none use UTF-32.\r\n- ICU required for #21791 use UTF-16.\r\n- UTF-32 is space inefficient, non BMP chars are rare and in average UTF-16 is using two times less memory than UTF-32."}}
{"actor":{"display_login":"bruvzg"}}