Hello Ken,
Font ligatures in Java Swing are enabled with a text attribute:
https://docs.oracle.com/javase/8/docs/api/java/awt/font/TextAttribute.html

It should be certainly possible to selectively enable/disable it.
Unfortunately I have searched NB source code for LIGATURES but found
nothing relevant.

Someone more accustomed with the code of NB editor infrastructure could
tell where to intervene.

Regards,
Alex

Il giorno dom 5 apr 2020 alle 17:42 Kenneth Fogel <
[email protected]> ha scritto:

> Not long ago I wrote about the JetBrains Mono font. I liked it but it had
> ligatures I could not turn off in NB on Windows. To the rescue came Andrew
> Podkovyrin who forked a non-ligature version at
> https://github.com/podkovyrin/JetBrainsMono/tree/feature/no-ligatures-1-0-3/no-ligatures.
> When I first discovered the font I learned, possibly incorrectly, that it’s
> the editor responsibility for disabling ligatures. It could also be a
> switch in Java. I have my solution in the forked font but I was curious,
> any suggestions?
>
>
>
> *Ken Fogel*
> Faculty
>
> email: [email protected]
> phone: (514) 931-8731 local 4799
>
> Dawson College, 3040 Sherbrooke St. W
> <https://www.google.com/maps/search/3040+Sherbrooke+St.+W+Westmount,%0D%0A+Quebec,+H3Z?entry=gmail&source=g>
>  Westmount, Quebec, H3Z
> <https://www.google.com/maps/search/3040+Sherbrooke+St.+W+Westmount,%0D%0A+Quebec,+H3Z?entry=gmail&source=g>
> 1A4, Canada
>
> [image: facebook icon] <https://www.facebook.com/ken.fogel> [image:
> twitter icon] <https://twitter.com/omniprof> [image: youtube icon]
> <https://www.youtube.com/kenfogel> [image: linkedin icon]
> <https://www.linkedin.com/in/kenfogel/> [image: instagram icon]
> <https://www.instagram.com/omniprof/>
>
> [image: cid:16cd4bdce7eaf8d708] <https://www.dawsoncollege.qc.ca/>
>
>
>
>
>
>

Reply via email to