samuelngs / apple-emoji-linux

Brings Apple's vibrant emojis to your Linux experience
Apache License 2.0
722 stars 52 forks source link

How can i remove Numbers? #39

Open sasanthks opened 4 months ago

sasanthks commented 4 months ago

I don't want the numbers to be shown as emojis. I want to display them as normal characters because they have abnormal spaces when converted to emojis. I noticed the same issue with Noto fonts.

I tried to built from the source and remove images of numbers (non emojis) manually from png folder. Now the numbers are not visible at all when using this font. Is there any way to fix it?. I am using it on Android

dmlls commented 4 months ago

Hi @sasanthks, if you simply remove the number images, then the codepoints corresponding to the number emoji will have no image to show. A way to achieve what you want, off the top of my head, would be to edit the ttf file with a font editor such as FontForge or any other font editor you can find, and assign to the number emoji the glyphs of another font of your choice (e.g., Noto Sans).

Note, however, that there are other more appropriate projects to install Apple Emoji on Android, such as https://github.com/Keinta15/Magisk-iOS-Emoji. Perhaps using that method the numbers display correctly in the first place.