Page 1 of 1

Full color emoticon in a field

Posted: Sat Oct 01, 2016 6:57 pm
by seaniepie
Hi all,

I'm trying to display an emoticon in a field in full color but only get it in monochrome even if no forecolor has been set. Here's an example of my code:

Code: Select all

set the textFont of fld "myField" to "Helvetica Neue"
put numtocodepoint(129297) into fld "myField"
Anyone know how to get these to display in full colour as they are within the character sets?

Thanks
Sean

Re: Full color emoticon in a field

Posted: Wed Oct 26, 2016 12:16 am
by [-hh]
AFAIK this is not possible until now, probably requires a native text engine to display color-fonts.
In the Apple Emoji Viewer (via Keyboard menu*) one can see unicode font variants of the Apple Color Emoji font that are nearly all monochrome.

I hope the usage we dream of is enclosed in Infinite LiveCode / Native Text Field extension.
Until that I use screenshots of enlarged Apple Color Emojis in SimpleText and use "imageSource" for the Unicode emoji-char (may be easily removed if this is enclosed in the Native Text Field extension).

_____
* I can't remember when the "Show Emoji & Symbols" palette (one can drag and drop from it) was first included in the keyboard menu. On Mac I'm using currently 10.12.

Re: Full color emoticon in a field

Posted: Wed Oct 26, 2016 5:28 pm
by richmond62
Personally I would just export a PNG image of the full-colour emoticon from
the font [Easy enough to do from LibreOffice, for instance] and then just
put the image in the text field.

Re: Full color emoticon in a field

Posted: Thu Oct 27, 2016 6:29 pm
by richmond62
I just went over here: http://www.unicode.org/charts/PDF/U1F900.pdf

and cannot quite understand things when you write about "full color" as the chars are
in black & white:
unicodeEmoticons.png

Re: Full color emoticon in a field

Posted: Thu Oct 27, 2016 7:53 pm
by shaosean
You might be interested in this document http://www.unicode.org/Public/emoji/3.0 ... uences.txt

Re: Full color emoticon in a field

Posted: Thu Oct 27, 2016 10:16 pm
by [-hh]
Hi 'shaosean'.
This is a great source. But one may need a 'newer' browser that is able to display "color-fonts"?
The LC browser-widget-engine is it, anyway.