hexchat icon indicating copy to clipboard operation
hexchat copied to clipboard

Line Spacing and Paragraph Spacing

Open nasog opened this issue 11 years ago • 19 comments

An option to change the spacing of lines and paragraphs without having to edit the source code would be nice.

nasog avatar Apr 16 '13 06:04 nasog

Wait, what? You mean, the spacing between individual chat messages?

ghost avatar Apr 17 '13 07:04 ghost

Yes sir.

nasog avatar Apr 17 '13 15:04 nasog

Any news on this? I'm seriously interested in this as well... :)

levifig avatar Dec 09 '13 16:12 levifig

Just started using HexChat and would love this feature. Seriously, it's hard to browse through the message log because everything is so close together!

melz avatar Jan 24 '14 19:01 melz

I realize this is more of a niche feature, but it would be great to have and could seriously improve readability.

stephymiehle avatar Mar 21 '14 15:03 stephymiehle

:+1:

rigor789 avatar Dec 08 '14 15:12 rigor789

I have an alpha version of this enhancement that I'm currently using. If you feel you can build hexchat from source and you would like to participate in a little pre-Alpha testing, do give a holler here.

RichardHitt avatar Feb 20 '15 00:02 RichardHitt

@RichardHitt

I have an alpha version of this enhancement that I'm currently using. If you feel you can build hexchat from source and you would like to participate in a little pre-Alpha testing, do give a holler here.

More details? I'm interested in trying to build this for Fedora 21.

ironcladlou avatar Mar 03 '15 19:03 ironcladlou

Hi, and thanks! You can clone my latest preAlpha with this command:

 git clone -b 546PreAlpha http://github.com/RichardHitt/hexchat

This clone defaults to a value of 3 (vertical pixels) of additional space after each message in the text window. Change it with "/set text_spacing_msg N" and after that, do "/gui apply". Please let me know your experience, positive and negative.

Richard

On 03/03/2015 11:08 AM, Dan Mace wrote:

@RichardHitt

I have an alpha version of this enhancement that I'm currently using. If you feel you can build hexchat from source and you would like to participate in a little pre-Alpha testing, do give a holler here. More details? I'm interested in trying to build this for Fedora 21.


Reply to this email directly or view it on GitHub: https://github.com/hexchat/hexchat/issues/546#issuecomment-77012128

RichardHitt avatar Mar 04 '15 00:03 RichardHitt

@RichardHitt

Hi, and thanks! You can clone my latest preAlpha with this command: git clone -b 546PreAlpha http://github.com/RichardHitt/hexchat This clone defaults to a value of 3 (vertical pixels) of additional space after each message in the text window. Change it with "/set text_spacing_msg N" and after that, do "/gui apply". Please let me know your experience, positive and negative. Richard

I tested the line spacing build on Fedora 21:

Linux thinkpad.local 3.18.7-200.fc21.x86_64 #1 SMP Wed Feb 11 21:53:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

The setting works really well. Thank you. It's a great improvement.

Aside: It's a shame X/HexChat doesn't just render to an HTML view and support CSS theming like LimeChat (and derivatives like Textual) on OSX. The latter are extremely readable thanks to CSS theming support which allows totally independent style configurations for elements (message, timestamp, etc) as well as control over things like the column separator and scrollback marker. If anybody knows of any linux clients that support that kind of thing, I'd love to hear about them.

ironcladlou avatar Mar 04 '15 02:03 ironcladlou

Aside: It's a shame X/HexChat doesn't just render to an HTML view and support CSS theming like LimeChat (and derivatives like Textual) on OSX.

They also have extremely bad performance issues using large amounts of CPU and Memory.

TingPing avatar Mar 04 '15 20:03 TingPing

@RichardHitt could you make your modifications to the last stable version ??

cazandobits avatar Apr 17 '16 13:04 cazandobits

@cazandobits Sorry but Richard passed away last year.

TingPing avatar Apr 17 '16 14:04 TingPing

Is this waiting for a pull request or just ignored for good?

vadosnaprimer avatar Jun 09 '17 16:06 vadosnaprimer

All open issues are implicitly waiting for pull requests.

Arnavion avatar Jun 09 '17 21:06 Arnavion

Any chance the changes made by RichardHitt got pulled in mainline? (http://github.com/RichardHitt/hexchat)

DrReD avatar Apr 03 '20 02:04 DrReD

I (hand-)merged the RichardHitt changes into the current hexchat/hexchat master branch on account of what we're experiencing with #2449, and unfortunately it doesn't accomplish the desired effect of not cutting off the bottom of text. I'm happy to share this branch if others would want to further maintain it for a pull, though. I ultimately had no issues with it; it works (not in the way that I expected, which is fine), except for the compilation of the Python plugin, which I think is unrelated, as I couldn't compile that plugin without pulling in his changes either.

cajuncooks avatar May 19 '20 14:05 cajuncooks

TLDR: Until Hexchat gets support of spaces between chatlines a possible workaround is to select and use "Noto Sans Mono 9" as the font instead of "Monospace 9".

Longer read:

I experienced this issue myself after upgrading from Ubuntu 19.10 into Ubuntu 20.04. Dunno what Hexchat version it was previously but now its 2.14.3-3 and it got this issue of not enough of space between chatlines. Also the bottom line (last chat line) gets a few pixels cut off so a g looks more like a q.

So the proper fix would be if Hexchat got support of a setting where you can add additional empty pixels between the lines (including the bottom one).

A workaround that I found was that the "Monospace 9" which Hexchat in Ubuntu defaults to depends on what (currently) Gnome as window manager defines as the monospace font. Dunno if that changed between Ubuntu 19.10 and 20.04 (in 20.04 it is Ubuntu Mono 13 configurable through Gnome Tweaks app) but when changing this into "Noto Sans Mono 9" in Hexchat I got the old look back (well as it looked like in Ubuntu 19.10) including NOT getting the last line cut off at the bottom.

So I think the bug is twofolded. One is the space between chatlines but also space between the last chatline (at bottom) and the gui border. A quickfix for the Hexchat developers regarding that last chatline would be if its possible to always add an empty chatline beneath the last chatline to get the spacing needed.

Or better yet define that in pixels so basically two global settings: "/set text_spacing_msg N" and "/set text_spacing_lastmsg N".

Apachez- avatar Jul 17 '20 10:07 Apachez-

This also affects descenders on various Microsoft core fonts. For example, with Tahoma Regular 10, the bottom of the lowercase g is truncated, making it look like a q. (Tested with bytecode hinting enabled and antialiasing disabled, as is appropriate for that font.)

foresto avatar Aug 04 '21 20:08 foresto