Full color emoticon in a field

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
seaniepie
Posts: 143
Joined: Wed Sep 07, 2011 10:56 am

Full color emoticon in a field

Post by seaniepie » Sat Oct 01, 2016 6:57 pm

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

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2188
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Full color emoticon in a field

Post by [-hh] » Wed Oct 26, 2016 12:16 am

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.
shiftLock happens

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 3819
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Full color emoticon in a field

Post by richmond62 » Wed Oct 26, 2016 5:28 pm

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.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 3819
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Full color emoticon in a field

Post by richmond62 » Thu Oct 27, 2016 6:29 pm

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

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: Full color emoticon in a field

Post by shaosean » Thu Oct 27, 2016 7:53 pm

You might be interested in this document http://www.unicode.org/Public/emoji/3.0 ... uences.txt

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2188
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Full color emoticon in a field

Post by [-hh] » Thu Oct 27, 2016 10:16 pm

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.
shiftLock happens

Post Reply

Return to “Rich Media”