robm / dzen

Dzen is a general purpose messaging, notification and menuing program for X11.
MIT License
607 stars 81 forks source link

All cyrillic characters are displayed as rectangles [terminus-font] #10

Open ksevelyar opened 11 years ago

ksevelyar commented 11 years ago

Hello!

All cyrillic characters are displayed as rectangles with terminus-font:

echo "hello world кириллицав" | dzen2 -fn '-*-terminus-medium-*-*-*-22-*-*-*-*-*-koi8-u' -p -x 500 -y 1000 -w 500

2012-12-29-033259_1920x1200_scrot

Arch Linux

Tested with:

community/terminus-font 4.36-2 aur/terminus-cyrillic 4.38-1 aur/terminus-font-td1 4.38-1

community/dzen2 0.9.5git-1 aur/dzen2-xft-xpm-xinerama-svn 271-2 aur/dzen2-svn 271-3

In urxvt/roxterm symbols displayed correctly.

Sorry for my poor english.

ksevelyar commented 11 years ago

Works fine with dzen2-0.8.5-7-x86_64.pkg.tar.xz. ( https://wiki.archlinux.org/index.php/Downgrading_Packages )

FrostyX commented 10 years ago

Yes, works fine in dzen2-0.8.5 but dont work in dzen2-0.9.5. Any chance to fix it?

pitchforks commented 10 years ago

can we have this fixed please?

it's not even possible to use this repository as reference and get a certain older revision from it (because it has no tags)

and it's not possible to attempt a bisection because it has no svn history imported

ghost commented 10 years ago

Having the same issue here. The solution (bad solution) for me was to run dzen w/ LC_CTYPE in "ru_RU.UTF-8". Other locale variables don't change its behaviour. Downgrading works for me, too.

terrorbyte commented 9 years ago

I have the exact same issue. It appears that we are going to have to fix this ourselves. If I get time I'll see if I can fix it (I'll report back if I do).

stevenhoneyman commented 9 years ago

Two easy workarounds I can see:

  1. LANG=fr dzen2 ........ It has to be a language that exists, but that you haven't enabled.
  2. Just compile it without XFT enabled (pick option 4)
FrostyX commented 9 years ago

Thank you @stevenhoneyman. Workaround (2) is very simple on Gentoo.