zevlg / telega.el

GNU Emacs telegram client (unofficial)
https://zevlg.github.io/telega.el/
GNU General Public License v3.0
1.09k stars 85 forks source link

Multi-line messages on MacOS have inconsistent indentation #435

Closed graynk closed 9 months ago

graynk commented 9 months ago

Hi! Thanks for the work on the client. It works perfectly on Linux, but on Mac I have some issues. One of those is: multi-line messages (like multi-line text or stickers) get broken up after the first line, because the indentation is different after the avatar. See attached screenshot:

image image

Telega Setup

OS: macOS 13.5.1 Emacs: GNU Emacs 29.1 (build 1, aarch64-apple-darwin22.6.0, NS appkit-2299.70 Version 13.5.1 (Build 22G90)) Features: svg webp ffmpeg Telega: telega v0.8.163 (TDLib v1.8.19-b41a51f) (telega-server v0.8.2)

Current Behavior

Indentation of messages does not take into account the width of the avatar

zevlg commented 9 months ago

Use fixed width font, variable width fonts are not supported

graynk commented 9 months ago

Ah! Makes sense, sorry for the trouble.