LemonBoy / bar

A featherweight, lemon-scented, bar based on xcb
MIT License
1.61k stars 194 forks source link

Support UTF-8 chars #205

Closed vit1251 closed 7 years ago

vit1251 commented 7 years ago

I try to write UTF-8 chars and have no output. Could you explain what problem with?

CamilleScholtz commented 7 years ago

Either your locale is messed up, or your font doesn't support these characters, try setting a fallback font.

vit1251 commented 7 years ago

Hello,

Yep, you was right.

Problem resolve when I make C MACROS with replace "fixed" on DEFAULT_FONT_NAME and specify totally ISO 10646/Unicode font name.

#define DEFAULT_FONT_NAME "-Misc-Fixed-Medium-R-Normal--15-140-75-75-C-90-ISO10646-1"

Thanks.