mononoki icon indicating copy to clipboard operation
mononoki copied to clipboard

Pipe symbol does not use full height

Open ebiscaia opened this issue 2 years ago • 5 comments

Hi,

I use doom emacs and the indent lines with the pipe symbol "|". Since the pipe symbol is not full height, the indent line has gaps which is a bit distracting. Is it possible to review the character?

Thanks,

Eduardo

ebiscaia avatar May 12 '23 23:05 ebiscaia

Hey! The Pipe character is mostly used as an operator, where it would look strange if it was touching the lines above and below. For your purpose, I would suggest using box drawing characters that are also in the font.

madmalik avatar May 13 '23 09:05 madmalik

Hi, further exploration made me realise I was actually meaning the drawing character you mentioned (I was using 9474 which is the decimal version of 2502). I thought that was the piping symbol (that then I found out to be even shorter) because they look very similar and the box drawing vertical bar is the default symbol of the indent line plugin. I wonder if in this case you would reconsider and alter this symbol to be full height.

Thanks again,

ebiscaia avatar May 13 '23 13:05 ebiscaia

Ok, thats a different matter. The box drawing character should be full height. Can you tell me which OS you're using?

madmalik avatar May 13 '23 13:05 madmalik

Fedora 38. I think I also should mention that I use the Nerd Fonts version of it.

ebiscaia avatar May 13 '23 22:05 ebiscaia

The box drawing characters are in fact full height. For example, on mac it looks like this: image

I've tested under Linux and under certain sizes there seems to be a one pixel gap. There is a similar problem with the powerline symbols. I don't really know why this specific font renderer has problems with full height symbols.

One thing I can try is making those symbols oversized, so that they reach into the neighboring space. But i have to test that this doesn't create problems on other platforms.

madmalik avatar May 16 '23 17:05 madmalik