Chatterino / chatterino2

Chat client for https://twitch.tv
MIT License
2.06k stars 449 forks source link

Emojis shouldn't be scaled #5684

Open Nerixyz opened 2 weeks ago

Nerixyz commented 2 weeks ago

Checklist

Describe your issue

Currently, we scale emojis down from 64x64 to (about) 22x22. Downscaling is pretty bad with Qt (yes, even when SmoothPixmapTransform is enabled). We shouldn't have to do that since we (not really we, but pajlada) provide the emojis. We should scale the emojis once to the desired size(s) and distribute these. emoji-data provides a good foundation for this (imgmagik → zopfli).

Screenshots

No response

OS and Chatterino Version

-

pajlada commented 1 week ago

For pre-scaled sized, I imagine it'd be best for us to decide on an emoji size that isn't 22px. I'm thinking 24px to begin with, or maybe 32px. 32px would be easier to scale for most emoji sets, but it's also kind of big.