Firacode: Adding new ligature: *= and+=

Created on 13 Sep 2018  Â·  6Comments  Â·  Source: tonsky/FiraCode

Hello,

I think it would be great to add the following ligature:
+= to ⩲
*= to ≛

And maybe -= to some equivalent if it exists. I did not found atm in math books.

Most helpful comment

I don't like the ligatures suggested here, but could you make it so +=, -=, and *= have the symbol and the equals sign vertically centered? Right now the +, -, and * sit a little bit off-center of the equals sign.

All 6 comments

Might be too confusing if we render them like that. Also they need to stay 2× wide

I'm not sure that it would be more "confusing" that actual ligatures such as "==" and "===" or ">=" ?
On what your apprehensiveness's based on ?

I don't like the ligatures suggested here, but could you make it so +=, -=, and *= have the symbol and the equals sign vertically centered? Right now the +, -, and * sit a little bit off-center of the equals sign.

-1, the current >= / <= != ligatures produce very well-known and clear mathematical symbols, while I don't think I ever saw the proposed += / *= symbols. Also, at least as they are shown here on GitHub, the result provides _decreased_ clarity, as the + and * - arguably quite an important part of the operator - are very small over the = sign (in particular *, almost unreadable).

Okay I get it, it's just weird to have operators ligated in common languages and some not, visually it was about having consistency in ligaturing. But I agree completely with @kiprobinson Off-centered chars are a bit disturbing.

Will fix +=, -=, and *=, thx!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pedrowebcomum picture pedrowebcomum  Â·  4Comments

tomByrer picture tomByrer  Â·  4Comments

RustemB picture RustemB  Â·  4Comments

pamu picture pamu  Â·  3Comments

ghivert picture ghivert  Â·  4Comments