Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Q] line spacing: how to? #232

Closed
gaydenko opened this issue Jun 21, 2015 · 17 comments
Closed

[Q] line spacing: how to? #232

gaydenko opened this issue Jun 21, 2015 · 17 comments
Labels

Comments

@gaydenko
Copy link

@gaydenko gaydenko commented Jun 21, 2015

Hi!

How to set line spacing?

@thestinger thestinger added the question label Jun 21, 2015
@thestinger

This comment has been minimized.

Copy link
Owner

@thestinger thestinger commented Jun 21, 2015

Termite isn't responsible for font rendering so it doesn't offer this feature. I would expose it if VTE offered it, but it doesn't. I would merge a simple patch implementing it in vte-ng but not something non-trivial to maintain.

@thestinger thestinger closed this Jun 21, 2015
@thestinger

This comment has been minimized.

Copy link
Owner

@thestinger thestinger commented Jun 21, 2015

I think it's also possible to configure this with fontconfig, but I don't know how to do it anymore.

@Earnestly

This comment has been minimized.

Copy link
Contributor

@Earnestly Earnestly commented Jun 21, 2015

Fontconfig isn't able to adjust line-height via its configuration, it would
need to be handled by the program in question.

You can potentially play with the minspace boolean property which supposidly
can reduce the line-height but I was unable to notice any change via either xft
or fontconfig changes.

@gaydenko

This comment has been minimized.

Copy link
Author

@gaydenko gaydenko commented Jun 21, 2015

@Earnestly , I'd want to increase line height rather to reduce it :)
A working area padding can be adjusted with gtk.css. I have guessed there is an opportunity to adjust line spacing also, but all my attempts have failed.

@Earnestly

This comment has been minimized.

Copy link
Contributor

@Earnestly Earnestly commented Jun 21, 2015

That unfortunately lies in the domain of the terminal emulator then.

@madx

This comment has been minimized.

Copy link

@madx madx commented Jun 26, 2015

Hi!

I'd really like this feature as well.

Maybe there is something interesting in this thread: https://bugzilla.gnome.org/show_bug.cgi?id=738781

@josswright

This comment has been minimized.

Copy link

@josswright josswright commented Nov 2, 2017

There's been some significant-looking movement on this on the vte side -- is this still a possibility in termite if vte implements it?

Discussion here: https://bugzilla.gnome.org/show_bug.cgi?id=781479

@dshoreman

This comment has been minimized.

Copy link

@dshoreman dshoreman commented Jan 27, 2018

@thestinger @jelly Support for line spacing was added to vte in GNOME/vte@26c79c6, could that be merged into vte-ng to reopen this issue?

Edit: Found some related commits in gnome-terminal:

@jelly

This comment has been minimized.

Copy link
Collaborator

@jelly jelly commented Jan 27, 2018

Latest vte-ng is 0.50.2.a-1 which is the latest vte release

@dshoreman

This comment has been minimized.

Copy link

@dshoreman dshoreman commented Jan 29, 2018

The latest I'm seeing is 0.48.2, am I looking in the wrong place? Still pretty new to Termite/VTE-ng

@jelly

This comment has been minimized.

Copy link
Collaborator

@jelly jelly commented Jan 29, 2018

Yes, it's not selected as default branch.

@jelly

This comment has been minimized.

Copy link
Collaborator

@jelly jelly commented Jan 29, 2018

@josswright

This comment has been minimized.

Copy link

@josswright josswright commented Feb 24, 2018

Is there a way to control line spacing now, then?

@jelly

This comment has been minimized.

Copy link
Collaborator

@jelly jelly commented Feb 25, 2018

No, since nobody has made a pull request to implement this new feature.

@jelly

This comment has been minimized.

Copy link
Collaborator

@jelly jelly commented Apr 26, 2019

Fixed in 4aa8422

@jelly jelly reopened this Apr 26, 2019
@jelly jelly closed this Apr 26, 2019
@binaryplease

This comment has been minimized.

Copy link

@binaryplease binaryplease commented Jun 11, 2019

Reducing the line space is not working for me:
I added:

cell_height_scale = 0.5

to my config but that does nothing. Adding values greater than one works just nothing lower.
I also tried setting it to 1.9 which also works fine, so it seems it's not limited to integer values.

@dtzWill

This comment has been minimized.

Copy link

@dtzWill dtzWill commented Jun 11, 2019

Vte enforces these limits, see the source and probably api docs for more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
9 participants
You can’t perform that action at this time.