In your own application.
[edit]
Well, that's why I totally agree - more than you know, without the ambiguity that graphic emoticons are an abomination. But! It doesn’t help me when the project owners tell me that we need to support graphic emoticons.
[/ edit]
The problem is more complicated than it would initially seem, especially when you take into account editing, word wrapping, variable-width fonts and color emoticons.
So, my question is really for the people who did this, did you come up with a satisfactory way to create emoticons, which is not only one massive hack?
To start a discussion:
In two implementations, I tried the following approaches.
In a 3D application, where are lines of text where "textures" are displayed; I replaced the lines of emoticons with images corresponding to the type of text, so the emoticon will become just another element of the text.
In fact, the text processing mechanism had to be changed at the deepest levels. It gives good results, but very time-consuming and very difficult to get right (or at least for me anyway; P)
In the second approach (with a different language and platform), I decided to try a “fake” of a higher level, replacing the lines of emotions with one character and drawing emotions over the replaced character. This, of course, has many limitations, but it has the advantage of being fast enough to implement, and you can achieve a fairly stable state without unnecessary effort.
source share