ligature support

104 views
Skip to first unread message

Tim Gray

unread,
Aug 25, 2024, 5:13:34 PM8/25/24
to BBEdit Talk
I've been using Fira Code for my font in BBEdit and ligatures have been supported with no additional action on my part. (In fact, I don't know how to turn them off). Anyway, I bought a new font, Berkeley Mono [1], and installed the version with ligatures. To my surprise, they aren't showing up. Is there anything I need to do on my part to get them to show up? I plan on writing the authors to see if they have any thoughts.

Just to test, I did try the font in iTerm, and the ligatures do work when I check the Use Ligatures check box.

[1]: https://berkeleygraphics.com/typefaces/berkeley-mono/

Thanks!
Tim

Gary Ash

unread,
Aug 26, 2024, 3:17:03 PM8/26/24
to BBEdit Talk
Do a defaults write com.barebones.bbedit EnableFontLigatures -bool true in your terminal and restart BBEdit

Tim Gray

unread,
Aug 28, 2024, 8:12:51 PM8/28/24
to BBEdit Talk
that did it!  Thanks.  Not sure why I didn't need that for Fira Code...? 

flet...@cumuli.com

unread,
Aug 28, 2024, 9:01:12 PM8/28/24
to bbe...@googlegroups.com
The preference can be set per font. Maybe it was set for Fira but not for all fonts. The documentation for Fira says to use this line.

defaults write com.barebones.bbedit "EnableFontLigatures_Fira Code" -bool YES

You can use this to list all the preference values and see if it was set.

defaults read com.barebones.bbedit

[fletcher]

-- 
This is the BBEdit Talk public discussion group. If you have a feature request or believe that the application isn't working correctly, please email "sup...@barebones.com" rather than posting here. Follow @bbedit on Mastodon: <https://mastodon.social/@bbedit>
--- 
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/1571d475-c58b-4ba1-a6af-7154c466b27a%40betaapp.fastmail.com.

Reply all
Reply to author
Forward
0 new messages