lehitoskin / ivy

Ivy, the Taggable Image Viewer
GNU General Public License v3.0
16 stars 3 forks source link

Add emoji support in GUI text fields #76

Open IonoclastBrigham opened 6 years ago

IonoclastBrigham commented 6 years ago

I'm not sure this is even possible with racket-gui or not...

Emoji aren't properly rendered on macOS in text-field%s. They are fine in other widgets, like the tags list in the browser window.

Tested as rendering correctly everywhere on Gentoo. [Edit: and Windows.]

Internally, ivy doesn't seem to have any issues with emoji. It'll stick them in the DB and XMP data no problem. If you paste emoji into the tags field, they don't render at all (they're double-wide blank spans), but I have verified they were saved correctly.

$ ivy --list-tags test.png
tag1
tag2
tag3
💩
🤷🏻‍♀️
lehitoskin commented 6 years ago

I just tested on my Windows VM. They aren't pretty, but they aren't tofu blocks or something like that. Could you post a screenshot of what emoji look like on OS X?

Gentoo: 2018-05-12-162816_530x182_scrot

Windows: windows ivy emoji

IonoclastBrigham commented 6 years ago

On macOS 10.13.4, with the tag "😈😵😷🙏🙆". screen shot 2018-05-12 at 5 28 03 pm