Hello,
i use x11/rxvt-unicode as my terminal emulator and it seems like it cannot output the horizontal ellipsis (U+2026).
As the terminal font, i use x11-fonts/iosevka, which i load via .Xresources like so:
My locale is German which i set via .login_conf
However, if something tries to output the ellipsis (…), for example calling a GTK4 program with the --help parameter, it doesn't work but outputs a square:
Here is a minimal compilable C++ program which reproduces the problem:
Note that this is not restricted to C++, every other method of outputting the ellipsis does not work, for example a simple
And before you ask, yes, the program above outputs the ellipsis fine if i run it from a virtual console without X.
How can i make the ellipsis work in rxvt-unicode with the Iosevka font?
i use x11/rxvt-unicode as my terminal emulator and it seems like it cannot output the horizontal ellipsis (U+2026).
As the terminal font, i use x11-fonts/iosevka, which i load via .Xresources like so:
Code:
URxvt.font: xft:Iosevka:style=Regular:size=12
URxvt.boldFont: xft:Iosevka:style=Bold:size=12
URxvt.italicFont: xft:Iosevka:style=Italic:size=12
URxvt.boldItalicFont: xft:Iosevka:style=Bold Italic:size=12
My locale is German which i set via .login_conf
Code:
me:\
:charset=UTF-8:\
:setenv=LC_ALL=de_DE.UTF-8:\
:lang=de_DE.UTF-8:
However, if something tries to output the ellipsis (…), for example calling a GTK4 program with the --help parameter, it doesn't work but outputs a square:
Here is a minimal compilable C++ program which reproduces the problem:
Code:
#include <clocale>
#include <iostream>
int main()
{
setlocale(LC_ALL, "");
std::cout << "…" << std::endl; // does not work
std::cout << "öä" << std::endl; // umlauts work fine
return 0;
}
Note that this is not restricted to C++, every other method of outputting the ellipsis does not work, for example a simple
echo
in a shell script or pasting the character via middle mouse click.And before you ask, yes, the program above outputs the ellipsis fine if i run it from a virtual console without X.
How can i make the ellipsis work in rxvt-unicode with the Iosevka font?