maple-font icon indicating copy to clipboard operation
maple-font copied to clipboard

ss01 seems to be inverted compared to the documentation

Open torgeros opened this issue 8 months ago • 1 comments

The documentation says

ss01: Broken equals ligatures (==, ===, !=, !==, =/=)

What I conclude from this is that I should specify ss01 to "break the equals ligature".

However, the experienced behaviour is opposite: Only when I specify ss01 are the == combined into a ligature. When I do not specify ss01, they are separate.

torgeros avatar Mar 20 '25 21:03 torgeros

There is a playground for the font and you can test the features there.

https://font.subf.dev/en/playground/

subframe7536 avatar Mar 20 '25 22:03 subframe7536

I understand that. The point is: the documentation says "ss01: broken equals", but the equals is broken by default and ss01 combines it.

In the playground the equal sign is a ligature until I turn on ss01.

In my installation of 7.0, the equal sign is broken until I explicitly specify ss01.

torgeros avatar Mar 21 '25 08:03 torgeros

Equals will be combined when you enable ligatures(calt), and ss01 is used to prevent the ligature on equals, so there is no wrong with the doc. Can you provide more info about your env?

subframe7536 avatar Mar 21 '25 09:03 subframe7536

I am runninig Linux (KDE Neon 24) with KDE Plasma.

The program I tracked this in is VSCodium (the open source base of vs code), but it also happens in all other text editors I tried.


with "editor.fontLigatures": "'calt'":

Image

with "editor.fontLigatures": "'calt', 'ss01'":

Image

note how the <= is never a ligature, because ss02 needs to be specified for that to enable.

my settings.json

(user settings; i am not in a workspace at the time of writing)

{
  "workbench.startupEditor": "welcomePageInEmptyWorkbench",
  "editor.fontLigatures": "'calt'",
  "window.restoreWindows": "none",
  "git.confirmSync": false,
  "explorer.confirmDelete": false,
  "git.autofetch": true,
  "redhat.telemetry.enabled": false,
  "workbench.colorTheme": "Maple Dark",
  "editor.fontFamily": "'maple mono', 'Droid Sans Mono', 'monospace', monospace",
  "workbench.iconTheme": "catppuccin-frappe"
}

torgeros avatar Mar 21 '25 18:03 torgeros

May be something wrong with your font file. Could you please try these steps:

  1. download "Font Preview" VSCode extension
  2. open the installed font in VSCode
  3. click "Type Yourself"
  4. pin "Features" and scroll down to the text input
  5. create a reproduction gif or mp4

subframe7536 avatar Mar 21 '25 23:03 subframe7536

I removed and installed it (did that before), but now it works. It might have gone corrupt when updating from v6 to v7.

torgeros avatar Mar 22 '25 11:03 torgeros