Whether to make the ligatures more fine-grained #244
Replies: 3 comments 4 replies
-
I am not sure I would say the current font is "too" opinionated, but I would definitely appreciate having more fine-grained control over which ligatures appear when. It would be convenient especially because I could configure my code editor to change to different ligatures depending on the language I'm writing in. |
Beta Was this translation helpful? Give feedback.
-
I think it would be valuable to provide two assets for release, a default one where you can manually enable the features you want, and an opinionated one. If you have any questions @subframe7536 , feel free to ask ! Having more choices for users I think would benefit them and allows them to determine what they want. |
Beta Was this translation helpful? Give feedback.
-
What is blocking the release:
|
Beta Was this translation helpful? Give feedback.
-
I'm contemplating whether it's worth modifying this font to a more generic one, see in #240
First of all, Currently, the font is opinioned by default, like
a
,@
or italicl
, and usecvXX
orssXX
to disable and make the characters appear "correctly". Many people complains about the default style, and I have to reply and tell them how to enable the font features.Also, the character style is inconsistent between regular and italic
What's more, the current ligatures have already break the ligatures in V6, there is no more effect for users who migrate from V6
So I've initially developed the following modification plan which will introduce "breaking changes":
Jetbrains Mono
cv01
-cv04
: same as current, but the character style will become consistent between regular and italiccv05
: italic alternativel
i
j
k
x
(text is separated betweenal
,il
...)ss01
: enable==
===
!=
!==
=/=
ligaturesss02
: enable arbitrary text tags, like[todo]
ss03
: enable__
#__
ligaturesss04
: enable>=
<=
ligaturesss05
: enable\n
\t
... ligatures (symbols like\\
\'
will be enabled incalt
)ss06
: enable<<
<<<
>>
>>>
ligaturesss07
: enable italical
el
il
ul
serials ligaturescalt
: othersIf the changes are made, the release assets will contains two types of fonts:
Jetbrains Mono
, you can enable the features by yourselfSo there is no effect if you don't use font features, and more convenient for custom build
BTW,
ss01
-ss04
are not changed, compare to V630 votes ·
Beta Was this translation helpful? Give feedback.
All reactions