-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
fl/fi Ligatures always appearing in patched Monaco font #254
Comments
@timoxley Hey sorry not that I know of. The ligatures are present in the source font pre-patching right? What is the name of the tables that get removed in the iteration? By the way the font-patcher is setup with the ability to remove subtables (but not tables) via config example: https://github.com/ryanoasis/nerd-fonts/blob/master/src/unpatched-fonts/Meslo/config.json |
@ryanoasis There are some lookup tables in the font, but the ligatures seem to be disabled when using the font. The ligatures only appear when using the font after patching, even after removing all tables.
The same tables appear after generating the font using unmodified
Yep, I tried this first, but it didn't seem to have any effect, hence trying a nuclear "remove all tables" option. |
@timoxley Thanks for the details 👍 , that is strange. I would like to take a look but I cannot tell you when that'll be 😓 |
No action required on your part, was hoping it would be something you knew off the top of your head. Oh, also note that when I first patched the font using Source Font MonacoAfter
|
I have been having the problem with the phone symbol and such as well using the AUR nerd-fonts-complete package. Is there a way to get around this problem without patching all of the fonts by hand? |
@sirplatypos I just live with the phones |
I fixed the problem for myself by removing the subtable that replace the characters with the ligatures. It had been set to replace the normal ff and such with the phone, the priority low symbol, etc. If you're still having the problem, get font forge and remove the ligature subtable. |
ubuntu-regular.zip Please fix this problem upstream, by either removing the ligature subtables, or preferably by putting the ligatures originally present in the font back and then placing the other symbols somewhere else. |
+1 hving the same problem with Ubuntu font |
I'm having the same problem with monaco font... and as @sirplatypos did I just remove the ligatures with fontforge and that is. I don't know if I've broken anything in the process but I hope I didn't. |
I'm having this problem also using the latest version of the Arch linux AUR package It's sufficiently annoying that I'm about to revert back to the regular Noto font family and use the NerdFont version only in the terminal. Before I do that does anyone have a workaround (or better yet, a fix), other than manually editing the font in FontForge? |
The Ubuntu Condensed font also has this problem. |
I was using the `NotoSerif NerdFont` variation of `Noto Serif` because I already use the nerdfont variant for the terminal and I figured I may as well be consistent and make sure I can support NerdFont glyphs in the browser also. It was a good idea, and someday maybe it will work. But for now there's this issue [1], which is blocking any progress. It's maddening to read text when various emojis are injected in place of certain ligatures. [1](ryanoasis/nerd-fonts#254)
Sorry for the late reply, yeah I think the real solution will involve not clobbering the ligatures but that will involve moving some of the codepoints of some glyphs. That would probably result in a There is another workaround worth mentioning (if one patches themselves). that is using the left: original font Ref: #57 (comment) |
In the mean time, is there any chance of getting sirplatypos's fixed version of Ubuntu on the readme list or releases page for easy discoverability, or do we not want that as an official version since it's missing some glyphs? |
@ryanoasis's solution isn't entirely complete (though this might be related to terminal). Using "Share Tech Mono", the ligature overlaps with the next character: Note this is on Konsole 2.14.2, which is fairly old. Edit2: Just to confirm, removing the |
Also having this problem with the downloaded version of Inconsolata Nerd Fonts Mono |
has there been any progress? I don't know much about fonts so I don't really know how to ☎️x it for myself and the telephones are very annoying... |
@PonasKovas eventually you'll learn to love the telephones and it will look wrong to not have them. In these trying times, it's imperative to be able to ☎nd ways to accept things for what they are and move on, always better and stronger. |
@PonasKovas It's a fairly easy manual fix that I briefly mentioned in my second edit here. You essentially:
I had no experience in working with fonts before I did this and it didn't take too long. |
Same issue with Inconsolata Nerd Font from the AUR package |
im trying to do that but the font breaks when exporting.. how do i save it properly? |
Just went through this process.. Find the ligatures and clear the ones you don't want then File>Generate fonts>Choose the font type (ttf or CFF (which is OTF)) and leave all the options alone. Don't know if it matters but they suggest running it as administrator |
Ring, ring... Also happening with |
Is there a fork with the fixed fonts for someone who doesn't want to patch manually? |
Having the same phone problem on NixOS. I personally do not like the phones. |
I just ended up using the non-patched font as main font and defining the patched one as fallback in my terminal emulator. But I have since moved to a different font as I was starting to get bad dreams about ringing phones. I just stay subscribed to the issue because it makes me laugh every time I get a notification. |
That's a great idea! Didn't think about that one... |
|
It's been a long time but I think I've got a better solution now. Comment with screenshots here: #509 (comment) |
[why] When we overwrite a glyph that originally had some special handling, be it a substitution or position table entry (GPOS/GSUB), that special handling is usually not appropriate anymore and has to be removed. If we need special lookup table entries for the new glyph we would have to add them later anyhow, because we can not rely on their existance. In Issue #509 it was a ligature entry, that replaced 'f' followed by 'i' with the 'fi' ligature. The ligature glyph is overwritten by us with a telephone symbol and the substitution table entry makes no sense anymore. [how] If we overwrite a preexisting codepoint we remove it from all lookup tables. Thanks to all other reporters with details. Fixes: #509 #254 Reported-by: mangelozzi <[email protected]> Signed-off-by: Fini Jastrow <[email protected]>
Seems github did not pick up my 'PR will close this isse' tag 🙄 |
I think if you use it without a colon and you can only use one issue ref per line:
Something like that 😄 |
Just commenting because I have the issue and wanted @pinpox to have a laugh. |
@mundodisco8 Do you use the newest, updated font? |
I downloaded the one from master (or maybe a branch called something like
Inconsolata-fix?) but yeah I have it working for now, and waiting for the
fix to be merged in a new release.
…On Thu, 10 Feb 2022 at 15:37, Fini ***@***.***> wrote:
@mundodisco8 <https://github.com/mundodisco8> Do you use the newest,
updated font?
—
Reply to this email directly, view it on GitHub
<#254 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACADOE3QJ6VOSYBFLOZQH2LU2PLVBANCNFSM4EYLG7MA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Just installed Afflicted fonts
|
The AUR is if course not up to date :-D, complain at the repo manager that it relies on releases and not HEAD ;-) |
Ah yes, didn't notice that... I guess waiting for a new release isn't the end of the world :). Thx for the info! |
Hm, maybe give him a call? |
It makes sense for the AUR to fetch a release though? This project produces releases for a reason, I assume? |
No yes. Please note the emoticons, that was a not serious comment. I hope the 2.2.0 RC turns into a release soon... I kind of do not get it... if you use Arch, why not selfpatch ;-D |
This All the AUR packages are also updated to |
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference. |
I've even tried editing the patch script to remove all lookup tables, yet the damn ligatures continue to persist.
i.e.
Any ideas on what's going on? I'm guessing there's some default ligature setting being inherited? Is there a way to turn that off in the generated font?
Turning off
set macligatures
in vim is my temporary workaround.The text was updated successfully, but these errors were encountered: