troublemaker-dev / Textual

Textual is an IRC client for OS X
https://www.codeux.com/textual/
4 stars 0 forks source link

Feature request: enable line-height adjustment in preferences without resorting to CSS editing #8

Open bradtchapman opened 9 months ago

bradtchapman commented 9 months ago

Hello,

I found myself adjusting the line-height in the CSS style sheet because the default line spacing / line leading was a bit too wide compared to most IRC clients such as mIRC and Colloquy.

Could you add some options to the GUI to override the CSS global body styles for global adjustment of line-height, margin, padding etc to permit three levels of "line spacing" ? Compact, Normal, and Cozy. This is similar to functionality offered by Gmail, and Microsoft Outlook.

Also, do keep in mind that fonts have different leading (line-spacing) below or above the cap height. The most appropriate multipliers for line spacing in the app should be based on some internal metric of the font, if possible. I'm unsure if MacOS has a way to extract this data consistently from fonts. The standard font type is OTF (OpenType Font), but many people still have TTF (TrueType) fonts installed. The option to configure line spacing according to this request might have to take those differences into account — whether TTF fonts can be checked for their line spacing, or only OTF.

Thanks!