Pixl.js `drawString()` emoji support

Posted on
  • Hi Gordon, I love my Pixl.js. Just wanted to say kudos on your work.
    I was wondering if there is a way to get support for rending emojis ?

  • Thanks :)

    Supporting that many different characters in Espruino would just take up too much space I'm afraid, but you could just display images for the characters you want? http://www.espruino.com/Graphics#images-­bitmaps

    There's an online image converter at http://www.espruino.com/Image+Converter that makes it a lot easier to pull in images, but that page itself is just a few lines of code using HTML Canvas - it'd be really easy to modify that so that it drew your emoji on the computer and created an image out of it.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

Pixl.js `drawString()` emoji support

Posted by Avatar for rahulrav @rahulrav