be5invis / Iosevka

Versatile typeface for code, from code.
http://be5invis.github.io/Iosevka
SIL Open Font License 1.1
18.69k stars 563 forks source link

Angle bracket ligatures for HTML, Haskell #1196

Open ghost opened 2 years ago

ghost commented 2 years ago

Shown below is JetBrains Mono. Ligatures to add are: </ /> </> <* *> <*> <+ +> <+> <$ $> <$>.

For <+> <+ +> I am aware that the plus is already vertically centered. In some fonts like Fira Code the plus sign is enlarged.

Same for <*>, but we might as well align the * like <.> too.

20210816_210841.jpg

be5invis commented 2 years ago

$-related stuff will be hard to deal with -- considering how many variants we have

ghost commented 2 years ago

Maybe we don't need to design new glyphs for when we could just overlay existing shapes. (Just saying).

Perhaps one end of the angle brackets would be lengthened when next to $ or /, touching their ends, like what we've done with the triangle pipe characters, while the $ and / would stay unaffected.

Guess that would be okay.

nx-lr commented 2 years ago

We could only add </> </ /> instead, that would be easier since those three chars have only one variant each