Skip to content

Conversation

@bbogdan-ov
Copy link

A simple PR that adds an ability to change thickness of the built-in box characters and powerline symbols

I made this PR because i don't like the default 1px borders of the built-in box characters and there was no option to change it. I was wondered why this feature didn't exist before

Sorry for the gif quality

Preview

@kchibisov
Copy link
Member

The thickness is kind of mentioned in the standard for those of being a 1/8 of the cell, making it bigger will make a lot of characters render incorrectly.

@bbogdan-ov
Copy link
Author

Yes, i know about this feature(?), but to change thickness you need to change the font size to a very large value or/and change the font.glyph_offset/font.offset options to a large value as well. It doesn't suit me (and a lot of people too, i think)

@kchibisov
Copy link
Member

What I'm saying is that you're breaking the rest of the glyphs by increasing the thickness, since a lot of glyphs assume the line to be 1/8.

There're also a heavy variants of lines (except arcs) and they use 1/4 width, so they should likely work for your case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants