# Bug in emojis display when using g4p (or using 'createFont', 'textFont')

**URL:** <https://discourse.processing.org/t/bug-in-emojis-display-when-using-g4p-or-using-createfont-textfont/19969>\
**Category:** Libraries\
**Created:** [April 20, 2020, 5:50pm UTC](https://discourse.processing.org/t/bug-in-emojis-display-when-using-g4p-or-using-createfont-textfont/19969 "2020-04-20T17:50:34Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [May 3, 2020, 7:43pm UTC](https://discourse.processing.org/t/bug-in-emojis-display-when-using-g4p-or-using-createfont-textfont/19969/11 "2020-05-03T19:43:28Z")

</div>

See this previous discussion. Passing emoji strings from files into text() is almost certainly not going to work.

> [@Using Emoji's on OSX](https://discourse.processing.org/t/using-emojis-on-osx/10349/4):
>
> So, according to this, there are four different recent standards that allow color emoji in font files – I suspect that none existed when Processing font support was developed. SVG-in-Opentype COLR/CPAL SBIX CBDT/CBLC If you could get the svg from opentype then you could get the color image – assuming the svg could be read by PShape. But you might still need to handle text size and kerning / leading. Possible that emoji4j could help with that? Haven’t looked at it, but it seems like an…

You can attempt to integrate Java emoji solutions, just be aware that they may not work either on Java 8 – check the minimum Java requirements of a solution.

> **[GitHub - vdurmont/emoji-java: The missing emoji library for Java :heart:](https://github.com/vdurmont/emoji-java)**
>
> The missing emoji library for Java :heart:. Contribute to vdurmont/emoji-java development by creating an account on GitHub.

[https://developers.redhat.com/blog/2019/08/16/manipulating-emojis-in-java-or-what-is-🐻-1/](https://developers.redhat.com/blog/2019/08/16/manipulating-emojis-in-java-or-what-is-%F0%9F%90%BB-1/)

None of this speaks to g4p integration – just the basics of trying to get an emoji character saved in a string to display in Processing.

---

_[View the full topic](https://discourse.processing.org/t/bug-in-emojis-display-when-using-g4p-or-using-createfont-textfont/19969)._
