Greetings,
I'm having an issue with the colors of the emojis, I will elaborate:
I'm developing a chat app, in the bottom is a TextInput and in the top are Labels containing the text.
When I'm typing in the TextInput, everything looks alright, the face based emojis are yellow, the hearts are pink, etc.
When I pass that text to a Label the colors of the emojis are all wrong, like they are inverted, for example the face emojis are blue. the hearts are gray, etc.
This only is happening in Android 4.4+
But, here's the important thing, this only happens in Starling, if I do this on a regular Flash project the emojis are correctly rendered on Android.
A wild guess is that some kind of filter is applied to the text and is not playing well with the unicode emojis.
Here's the code in regular display object project:
var textField:TextField = new TextField();
textField.text = "Hello World";
this.addChild(textField);
Here's the Starling+Feathers version:
var label:Label = new Label();
label.text = "Hello World";
label.textRendererFactory = function():ITextRenderer
{
var renderer:TextFieldTextRenderer = new TextFieldTextRenderer();
renderer.textFormat = new TextFormat("_sans", 40, 0xFFFFFF);
return renderer;
};
this.addChild(label);
I'm using AIR 22 and 23 beta.
Edit: It appears emojis are getting removed by the forum software, please go here:
http://emojipedia.org/extraterrestrial-alien/
And press the Copy button and then paste the emoji between Hello World.