redditsans icon indicating copy to clipboard operation
redditsans copied to clipboard

Feature request: Coding ligatures for monospace fonts

Open Hussseinkizz opened this issue 2 years ago • 4 comments

It would be great if you have a specified font variant with font ligatures, we want to code with it!

Hussseinkizz avatar Dec 12 '23 11:12 Hussseinkizz

There aren't any plans to add coding ligatures, but this is something we might consider in the future.

If anyone else thinks this would be a useful addition, please have your say, or vote with a thumbs up so we can asses the most popular feature requests going forward.

stephenhutchings avatar Dec 13 '23 09:12 stephenhutchings

@Hussseinkizz I used the repository for Delugia Code (which automates patching Cascadia Code) as a template to automate patching Reddit Mono with the PowerLine/Nerd-Fonts glyphs and the Ligaturizer script to add ligatures (pulled from Fira Code) to the Reddit Mono font family

Haven't had time to test thorougly, but I'm using it in my editor now and it seems to have turned out okay:

image

I modified the Litagurizer script to use some of the variant stylistic sets from Fira as I prefer them over the default, e.g., the horizontal bar for the greater than/equal sign over the angled version.

pa-0 avatar Nov 25 '24 22:11 pa-0

@Hussseinkizz I used the repository for Delugia Code (which automates patching Cascadia Code) as a template to automate patching Reddit Mono with the PowerLine/Nerd-Fonts glyphs and the Ligaturizer script to add ligatures (pulled from Fira Code) to the Reddit Mono font family

Haven't had time to test thorougly, but I'm using it in my editor now and it seems to have turned out okay:

image

I modified the Litagurizer script to use some of the variant stylistic sets from Fira as I prefer them over the default, e.g., the horizontal bar for the greater than/equal sign over the angled version.

so cool, can you share the moded font?

Hussseinkizz avatar Nov 26 '24 12:11 Hussseinkizz

ReaditMono [sic[^1]]. There is a legend in the README that maps out the variant abbreviations, and you can find all versions of the patched font on the releases page (added there automatically by the github actions bot): https://github.com/pa-0/ReaditMono-NF/releases/latest

[^1]: The misspelling is intentional (in the same vein as the nerd-fonts project) to avoid clashes in naming if you choose to install both the patched font as well as the original, unpatched Reddit Mono.

pa-0 avatar Nov 26 '24 14:11 pa-0