No unicodes in uxterm when using Source Code Pro font
When I use the "Source Code Pro for Powerline" font inside a xterm terminal (with unicode support turned on, uxterm), I don't get any unicode characters displayed at all. The powerline symbols (arrows etc.) work fine, but the regular unicode characters are not shown. Instead a small square with a cross inside is shown. This only happens for Source Code Pro. For the other powerline fonts everything seems to work fine. And this is only happening inside xterm/uxterm. When I use Source Code Pro inside xfce4-terminal, everything is fine.
It looks like Source Code Pro doesn't have all glyphs available. One feature that is missing in xterm is pango which supports glyph substitution. xfce4-terminal on the other hand has this feature, meaning that it will extract the missing glyphs from another installed font. the other powerline fonts seem to have all glyphs.
can anyone check and confirm that?
I confirm that I'm having the same issues here
I can confirm the exact same behavior. The font works just fine in gnome-terminal. xterm and uxterm are unable to display some characters.
Same for me for Hack, arrows and other powerline stuff is displayed correctly but the unicode cross (✘) and check (✓) are displayed as a square.
Is there no workaround for this besides not using xterm? :-)
@hholst80 I've switched to Termite
uxterm (I'm assuming that you are using at least that) which support utf-8, seems only support one font, not a set like gnome-terminal or xfce4-terminal and others. If you choose one font, you need choose with care because if you want unicodes, the selected font need to implements all them.
Note: uxterm may produce unexpected results if the current locale is set to one in which the UTF-8 character encoding is not supported, or if fonts using the ISO 10646-1 character set are not available. In the Debian system, the ``xfonts-base'' package provides the fonts that uxterm uses by default. To change the fonts uxterm uses, edit the /usr/share/X11/app-defaults/UXTerm file.