tuskyapp / Tusky

An Android client for the microblogging server Mastodon
https://tusky.app
GNU General Public License v3.0
2.46k stars 389 forks source link

Add an option whether to show custom emojis in same height #4668

Open kwon0408 opened 1 week ago

kwon0408 commented 1 week ago

Pitch

The new option will be named like "Fix heights for custom emojis".

If activated, a custom emoji will have same height as text, and its width will increase following its aspect ratio. (like "After" in the image below)

If deactivated, it will be shown as before.

Example image ![image](https://github.com/user-attachments/assets/770ee817-3b87-47a9-909c-8b743de85f3d)

Motivation

There are custom emojis depicting words or phrases in some servers (especially those running Misskey or similar implementations like CherryPick). They are usually longer in width than height.

But the current version (26.2) displays them to fit in a square, so the "word" is barely visible.

connyduck commented 1 week ago

Can you link me a post that has such an emoji please

kwon0408 commented 1 week ago

https://hoto.moe/notes/9y27z7thgt

screenshots ![Screenshot_20240913_133908_Chrome.png](https://github.com/user-attachments/assets/66fe4ce1-5f70-4f02-9d1d-3f47b35b728d) ![Screenshot_20240913_133915_Tusky.png](https://github.com/user-attachments/assets/8872c74d-fe6f-46e0-9a08-190678385dd5)