Closed hronro closed 1 year ago
It is rendered correctly, it just uses the font you specified instead of a custom font. There's some work in #5795 to include more symbols in our built-in font but powerline symbols are already pretty severe of a hack.
@chrisduerr I use the same font in Alacritty and Kitty but they look different. I also tried #5795 several days ago but it doesn't help.
Let me add some more details here.
It seems the characters
and
are rendered in different widths between Alacritty and Kitty:
(Alacritty on the top and Kitty on the bottom)
That's because Kitty doesn't actually use your font to draw these characters. But Alacritty does.
@chrisduerr
It's pretty cool to know Kitty doesn't actually use my font to draw these characters.
I tried build Alacritty with PR #5795 , but it seems nothing improved. Does that means #5794 does not really solve the problem, or just because the PR is not complete yet?
That's because only default powerline characters are used there, not the ones you're using. By default powerline only had arrows.
@chrisduerr @kchibisov
One more question here. It seems Alacritty renders
at double-width, which follows Unicode standards. However, when trying to render 12345
, the number 1
is obscured by the character
. Is this an expected behavior? Rendering other double-width characters like the Chinese characters won't have this kind of issue.
Probably the glyph in the font is just too big, since alacritty thinks that the size is 1, given that your text is drawn like that in the output of echo?
System
OS: macOS Version:
alacritty 0.11.0
Step to reproduece
Run
echo -e '\x1b[47m \x1b[49m\x1b[47m \x1b[49m'
Alacritty:
Kitty: