Add support for emoji š to browser
Opened this issue Ā· 0 comments
eligolding commented
Emoji are characters, and you can call create_text to draw them, but the results arenāt very good. Instead, head to the OpenMoji project, download the emoji for āgrinning faceā as a PNG file, convert to GIF, resize it to 16Ć16 pixels, and save it to the same folder as the browser. Use Tkās PhotoImage class to load the image and then the create_image method to draw it to the canvas. In fact, download the whole OpenMoji library (look for the āGet OpenMojisā button at the top right)āthen your browser can look up whatever emoji is used in the page.