mintty / wsltty

Mintty as a terminal for Bash on Ubuntu on Windows / WSL
Other
3.12k stars 104 forks source link

adapting and configuring emojis #276

Open pcroland opened 3 years ago

pcroland commented 3 years ago

Emoji resizing seems to use an algo that isn't really suited for downscaling.

image Left one is from wsltty, right one is resized with ImageMagick (-resize 15x15). I tried to resize my 72x72 emojis to 15x15 but then I can't use them wsltty because it reverts back to none.

mintty commented 3 years ago

Mintty does not scale emoji or other images itself. It uses Windows functions for display so all scaling is performed by Windows.

pcroland commented 3 years ago

And would it be possible to allow emojis with custom sizes such as 15x15?

mintty commented 3 years ago

Yes, of course. However, the set of supported styles is currently fixed, due to different filename patterns by emoji respositories. That means you'd have to drop-in the rescaled emojis instead of the original ones, losing access to the higher resolution.

pcroland commented 3 years ago

I have them all resized in a different folder and when I set them the settings will revert to none as selected emoji pack.

mintty commented 3 years ago

the set of supported styles is currently fixed

This means you cannot invent a new style name.

pcroland commented 3 years ago

Oh right, renaming apple_15px to apple works, thanks.