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
Emacs rendering of combining characters #87
Comments
“You need to find a better font!” - a commenter on that thread. 😀 It works fine More seriously, I don’t think it’s an issue with the font, since diacritics work OK for me. If you want to investigate, you could search the issues at FiraCode HQ https://github.com/tonsky/FiraCode/issues/ - there are similar issues with fonts and editors. I’ll ask around for help... |
Thank you. Checking the firacode + emacs, I don't see anything relating to combining characters, but I do for ligatures. It looks like Emacs needs hacking to handle ligatures in firacode. https://github.com/jming422/fira-code-mode -- I will investigate. (And just checking - when you say it works on MacOS, do you mean it works on Emacs GUI on MacOS? I'm guessing not.) |
Thanks for this. Will keep digging. |
I just tried with the latest JuliaMono (0.028). I compiled Emacs 27.1 with GTK and HarfBuzz 2.6.4 on Ubuntu 20.04 and I can't reproduce the problem. I don't have any |
Thanks @knuesel -- good to hear there is some success! It gets weirder for me (I'm using Emacs 27.1 from manjaro.)
when asking it to show "gamma bar" and "x bar" Monaco (case 1) gets both right, but in case 2 (JuliaMono) it gets gamma correct, but not x! case 2 (JuliaMono): |
Vim? 😁 |
vim works in the terminal, right? If so, I expect that to work ok. Emacs in the terminal works ok for me too (as it is the terminal doing the composing not the Emacs GUI.) |
Oh, yes, true. I'm still using Atom... :) |
I've posted an issue too on harfbuzz in case anyone else is following this. |
Thanks! I really appreciate your commitment to finding a solution! |
thank you for your efforts too! |
not exactly why my solution works, but installing the font to my home directory rather than using the arch package worked. https://lists.gnu.org/archive/html/bug-gnu-emacs/2021-01/msg00001.html yay! |
Thanks - the Emacs discussion guys said that it was a problem just on your installation? I hate it when that happens... :) |
yes. but that's okay. I'm glad to be looking at nice fonts now... great work, thank you. |
Cormullion + Emacs = Nice! |
@ScottPJones I only used it for a minute - eventually I had to kill the Terminal because I didn't know how to quit Emacs (apparently Ctrl-C isn't good enough... :)). |
@cormullion Yeah, it's C-X C-C :-) (otherwise, you'd be exiting by mistake all the time!) |
First off, thank you for the font, and no worries if you can't comment on this (having read your template text here in the issue.) I'm wondering though if you could shed any light on why I can't get characters like a followed by x0305 to render as a with the combining overline in Emacs? I'm thinking of using this for "the mean of a".
I asked on the Emacs help list, and was told "You need to use a font that has glyphs both for a (every font will fulfill that requirement) and the diacritics. Emacs can only compose characters if their glyphs come from the same font.
See my message:
https://lists.gnu.org/archive/html/help-gnu-emacs/2020-12/msg01058.html
and my screenshot comparing how the same file renders in Emacs (on the left) and xfce4-terminal (on the right). Note, this is GUI Emacs, not the version of Emacs that runs within a terminal.
https://damtp.cam.ac.uk/user/sje30/temp/accents.png
The text was updated successfully, but these errors were encountered: