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, kevinmiller, robinmiller
-
seaniepie
- Posts: 149
- Joined: Wed Sep 07, 2011 10:56 am
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

- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
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

- Posts: 5269
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
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.
-
[-hh]
- VIP Livecode Opensource Backer

- Posts: 2262
- Joined: Thu Feb 28, 2013 11:52 pm
- Location: Göttingen, DE
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