pragmatapro icon indicating copy to clipboard operation
pragmatapro copied to clipboard

Puzzling ligature behavior with /| and /|/

Open xguerin opened this issue 2 years ago • 3 comments

Hello !

I have a small question regarding the behavior of the ligatures. When enabled, Kitty terminal combines /, | and \ together into what looks like Kanji characters. I looks at the list of ligatures provided in the font and could not find those combinations.

Kitty allows to disable "general ligatures" and only keep the "calt" set, but that does not seem to make any difference.

Would there be a way to disable those ligatures? They end-up being a little annoying when typing regular expressions.

Thanks !

xguerin avatar Dec 03 '21 23:12 xguerin

@fabrizioschiavi Just to clarify. This combinations look like git tree ligatures:

image

And these should be available in ss13 only. But they are active by default in 0.829. Is this indented? Thanks.

lastsecondsave avatar Jul 28 '22 13:07 lastsecondsave

@lastsecondsave yes it was intended because I supposed | \ / combinations was very rare

fabrizioschiavi avatar Jul 30 '22 08:07 fabrizioschiavi

Thanks. I agree they are quire rare, but I see \| from time to time, mostly used to escape | in regexes. Just FYI.

lastsecondsave avatar Jul 30 '22 17:07 lastsecondsave

I can agree, wanted to create a new ticket, but found this one. Just recently hit this one since we use it in regex. @fabrizioschiavi maybe it makes more sense this to be off by default, but under OpenType feature like ss15 or something like that?

EDIT: I see it was under ss13, but removed and enabled by default. I think it makes sense to return it back.

svipas avatar Aug 02 '23 15:08 svipas

@svipas yes I'll return back

fabrizioschiavi avatar Aug 02 '23 15:08 fabrizioschiavi

@fabrizioschiavi One thing I discovered is that if you decide to use another number other than ss13 you should update handbook.png as well. Just a reminder, because I like to look into that file to see what options do I have and sometimes I like to experiment 😅

svipas avatar Aug 02 '23 15:08 svipas

Yeah! I'll keep it updated. Me too I'm feeling lost without handbook.png😀

fabrizioschiavi avatar Aug 02 '23 15:08 fabrizioschiavi

@fabrizioschiavi @xguerin This one is fixed and could be closed, because in 0.830 it renders it properly.

image

svipas avatar Dec 19 '23 21:12 svipas

Thanks!

xguerin avatar Dec 19 '23 22:12 xguerin