Live data from Hacker News

X redesigns water pistol emoji back to a firearm

blog.emojipedia.org

11–20 of 322 posts

Re: X redesigns water pistol emoji back to a firearm

#16

I wish that websites would stop overriding the emoji icons and just use the platform default.

Fun fact – Apple will reject your app for using emojis in an unapproved way, for example as a UI element, button or reaction. Default system emojis can only be used within regular text. For any other use you have to import your own versions and can't use Apple's.

Re: X redesigns water pistol emoji back to a firearm

#17

How do they technically implement this? Custom font? Or replace every emoji with an <img tag?

you can use a custom font for your site that includes glyphs for the characters you need (eg: a gun).

Modern emojis are stored as fonts.

Re: X redesigns water pistol emoji back to a firearm

#18

How do they technically implement this? Custom font? Or replace every emoji with an <img tag?

Custom font is sensible fwiw. You can have a font with a single glyph implemented and you’ll override just that glyph, falling back to other fonts for the non implemented glyphs. This is why sites often have a list of fonts and not just one in the css. It’s also how other languages are supported. No Thai chars in your font? We just fall back until we hit a font with those glyphs available (might be an os level font rather than a site specified font but that’s fine).

I’d hate to try and hack a “intercept the text and add an image” type of system when the font rendering system has a trivial way to override individual glyphs already.

Re: X redesigns water pistol emoji back to a firearm

#19

It's interesting that Microsoft started with a toy gun, then someone around 2015-2016 made the decision to turn it into a real gun.

I noticed that too. If I had to guess, and I don't, I'd say they changed just to be in line with everyone else. Although I wish they would have gone back to the ray gun as a sort of "told you so".
Post reply on HN