Including emojis in a TextInput

444 views
Skip to first unread message

_ Leva7 _

unread,
Apr 25, 2016, 12:55:27 PM4/25/16
to Kivy users support
Hi. I asked this question on StackOverflow earlier, but didn't get any responses. Here is the link to it. So basically I have a font that has nothing but colored emojis. But for some reason, typing anything (included in the font or not) crashes the app. So I have a few questions:
1) Is there a way to fix this crash, is it because I'm doing something wrong?
2) What better way is available to use emojis in text? .pngs or .svgs kind of seem like a grind (making Image widgets, that can't be good)

qua non

unread,
Apr 25, 2016, 1:32:50 PM4/25/16
to kivy-...@googlegroups.com
As noted on StackOverflow... need more information. how do you use the emoji font? Show us the relevant code.

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

_ Leva7 _

unread,
May 1, 2016, 9:08:59 AM5/1/16
to Kivy users support
I'd like some more attention to this question, preferrably from Kivy developers. Is what I'm trying to do possible?

понедельник, 25 апреля 2016 г., 21:55:27 UTC+5 пользователь _ Leva7 _ написал:

ZenCODE

unread,
May 2, 2016, 2:18:59 PM5/2/16
to Kivy users support
Did you read qua-non's post above? To repeat, we can't help without more information. Please post some example code.
Message has been deleted

_ Leva7 _

unread,
May 2, 2016, 3:45:37 PM5/2/16
to Kivy users support
@ZenCODE I did post it on Stack Overflow. The point is, there isn't much of my code. But I apologize, should've posted it here as well. Here it is:
from kivy.app import App
from kivy.uix.textinput import TextInput

class Test(App):
def build(self):
return
TextInput(font_name = "emojione-apple.ttf",
 font_size = 1)

Test
().run()

Here is the direct link to get the font.


понедельник, 25 апреля 2016 г., 21:55:27 UTC+5 пользователь _ Leva7 _ написал:
Hi. I asked this question on StackOverflow earlier, but didn't get any responses. Here is the link to it. So basically I have a font that has nothing but colored emojis. But for some reason, typing anything (included in the font or not) crashes the app. So I have a few questions:

Rafael Lima

unread,
Jun 24, 2016, 4:32:32 PM6/24/16
to Kivy users support
Hello _Leva7_ did you have any progress with this ? I'm trying using kivy.garde.iconfonts and I was able to use it with a font (ttf + css = fontd) with fontd that is almost a json with the codes and the icon method from iconfonts use this to map.
But just with fonts I was not able to use svg images from more complex fonts and no animation.css that's sad :/ 

Any Developer have any idea if there'll be more integration with AndroidEmoji.ttf or some native fonts ?
Reply all
Reply to author
Forward
0 new messages