-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ligatures and contextual alternatives #64
Comments
Please. Your font looks gorgeous :) Only thing stopping me is Ligatures. |
I cannot upvote this enough. This is my favorite font to use for all my monospace needs, but I'm using Fira Code right now because I love the ligatures. Having them in this font would be wonderful and I would be back immediately. I will even pay to see this happen! |
Great font but ligatures are the future ! |
I have started working on this. Here is my work-in-progress on the Regular. The yellow highlights indicate which ligatures have a special combined glyph in this font, compared to all the ligatures that are handled by Fira Code and Hasklig. I have reused the same techniques as Fira Code, so the font should have the same behaviour while editing. Only the Regular weight has ligatures for now. You can grab a test copy here: https://github.com/belluzj/fantasque-sans/releases/tag/v1.8-alpha To continue, I would need feedback on those points:
When all is fine on the regular I will do the same for the bold and italic and release. Thanks in advance for your feedback. |
Thank you for working on this! I am so excited to see ligatures coming to my favorite font! I am trying it right now in Atom, but am having no luck. Ligatures don't seem to be appearing anywhere. Edit: I tried both OTF and TTF with no luck. |
Did you download the font from this page? https://github.com/belluzj/fantasque-sans/releases/tag/v1.8-alpha Thanks for trying it out :) |
Yes and yes. |
Tried it in TextEdit this time to confirm it wasn't Atom crapping out. Here's the results. Edit: Not sure how to confirm I definitely have the right font. I did click the link and download the |
Can you drag and drop the TTF on that page: http://www.impallari.com/testing/ And check that ligatures work there? |
ok great :) |
Nice work on ligatures! When are you planning an official release? |
I'm very happy to see this going in. Two requests:
|
While we're waiting for full ligature support, (which looks awesome!) you can use https://github.com/lemeb/a-better-ligaturizer to add ligatures from another font. Works great. |
This is awesome. It will be great if we also have emacs instructions https://github.com/tonsky/FiraCode/wiki/Emacs-instructions |
I seem to be missing the ligature for /= in Elm (should be the same as the more popular != in other languages), which I did have with firacode, though that might be a configuration error on my part. |
I think ligatures are only drawn to regular/normal, there is no other variant yet, thus you get only on regular formatting
|
I would love to have small x in hexagonal numbers: 0xff like 0×ff |
Ok, these are looking amazing :) |
I just wanted to say that I have been using the ligatures for Javascript coding for the last few months. It looks great and I haven't run into any issues. Thank you for this amazing font. One that I liked having from Blackfont is the ligature for I totally know that's probably not one to prioritize over the other suggestions here though. |
Hello ligatures-lovers! I just published a new version that adds a bunch of ligatures to all weights, including those contributed by @artem-ogre in #114 (with tweaks). Please report any issues with the existing ligatures. I know that I didn't implement all the requests from above, and if you find more ligatures that are missing, you can add them to this thread. However I don't think that I'll be adding any more of those myself, at least for the time being (meaning the next couple years probably). |
Can we have a version without ligatures? I can't disable them on Visual Studio , only Code has this option |
A version without ligatures will be great. I was bring up a new computer today and downloaded a new version. The ligatures made me wonder if I typed something wrong. |
The new version only adds ligatures, so if you don't want them you can keep the old version for now. Next release I'll add packages without the ligatures. |
Just for information. To disable ligature on Linux (since my terminal doesn't support them) I use following config adapted from Archlinux wiki <?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<test name="family" compare="eq">
<string>Fantasque Sans Mono</string>
</test>
<edit name="fontfeatures" mode="assign_replace">
<string>calt off</string> <!-- disable ligatures -->
<string>ss01</string> <!-- k without loop -->
</edit>
</match>
</fontconfig> |
Great stuff, thank you @belluzj! The latest release contains ligatures, so I’ll close this issue. |
hi, please add a no-ligatures version~, thanks! |
1 similar comment
hi, please add a no-ligatures version~, thanks! |
love your font, but having tasted the beauty that is Fira Code’s ligatures, i can’t go back.
having both fantasque and those ligatures would be perfection!
the contextual alternatives are also amazing: having e.g. the
*
in*ptr
and-
infoo-bar
adjusted based on the height of the characters next to them… yum!The text was updated successfully, but these errors were encountered: