-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Umlaut issues on MacOS #2000
Comments
might be related to #306 |
Yeah, I was using |
TLDR alacritty should be able to display Unicode text with different normalization forms.
|
I have the same issue under both MacOS and Arch with alacritty 0.5.0 |
This is actually not a bug, Alacritty just doesn't do normalization and the fonts do not position the symbols correctly. So this is a font problem not an Alacritty problem. Normalization shouldn't be required. |
@chrisduerr I have tried different fonts, but the issue is always the same. I have set the font to the default listed in https://github.com/alacritty/alacritty/blob/master/alacritty.yml (monospace) but it has the problem as well. What font are you using that shows the symbol correctly?
|
Fira Mono. |
@chrisduerr thank you! The output does look better (it's at least on the correct character) but it's not the same as the correct rendering: If normalization is a font problem, is there a tool that can fix my font so it works with Alacritty? |
It's not supposed to be the same, if you want the same thing, don't use separate characters. |
Not sure if you are having a bad day but that is not helpful. It's not as if I am typing these myself, they show up in files and file names that are sent to me. FWIW they show up exactly the same in Firefox and elsewhere. Sorry for bothering you. |
If you want things normalized, then applications can normalize them. Alacritty just renders what the applications emit, which is perfectly fine. There's nothing wrong going on here, it just doesn't perform a step that is optional. |
@chrisduerr You are right, but don't you think the normalization step should be included? It seems to be included in every other Terminal app (e.g. Terminal.app, Hyper, iTerm2)? At least with the same fonts they all render the characters correctly and with correctly I mean that if you buy a Mac (e.g. German) and create a file in Finder, then you want the name in the Terminal (e.g. with I understand that this is not exactly an Alacritty issue, but I am sure it will drive some users away when they cannot list directories correctly. I totally understand if this is not top priority, too difficult to implement, etc., but calling it "perfectly fine" is at least from a user experience point not correct. Anyway, I am not leaving Alacritty :) |
@tobx you are commenting on a closed issue - the chances that your comment will be noticed are rather low in that case. |
@laktak You might be right, but I rather prefer not to when there is already 2 closed issues for it. |
@chrisduerr Hi, after using Alacritty for a few years now, I have to say, it is extremely fast. It boots faster than Kitty and even a little faster than the native macOS terminal. I am using exa as I keep saying with many applications that I would prefer more performance and stability instead of all those new features. If this is what it takes, I am happy that Alacritty goes this way. We do not need a second Kitty and I am happy that everyone can choose between maximum performance and more features. Also I read about how bad the macOS APFS unicode normalization is and I can understand that not every application wants to take care of that. Thank you for Alacritty. |
Which operating system does the issue occur on?
Files and folders created in Finder seem to have a different way of storing names then the command line has (I took "Ä" in my example).
Alacritty has problems with displaying the ones which are created by the Finder / not via command line. This is not depending on the shell (tested with bash, zsh and fish) or the Font itself. Terminal.app and kitty have no problem with the display of the same.
Ways to reproduce:
cd ~/Desktop
osascript -e 'tell app "Finder" to make new folder with properties {name:"Ä"}'
for i in (ls) ; printf "\n$i\n\n" ; echo $i | hexdump ; end
rm -rf ~/Desktop/*
mkdir Ä
for i in (ls) ; printf "\n$i\n\n" ; echo $i | hexdump ; end
Alacritty
http://trash.timorunge.de/alacritty/Screenshot_2019-01-10_at_20.19.29.png (uploaded since uploads to GH are not working ATM)
Terminal
http://trash.timorunge.de/alacritty/Screenshot_2019-01-10_at_20.49.36.png (uploaded since uploads to GH are not working ATM)
The text was updated successfully, but these errors were encountered: