You are not logged in.

#1 2007-09-02 14:16:10

azerty
Member
Registered: 2007-08-23
Posts: 90
Website

dwm - Display non-western chars

I want to display some non-western chars in my dwm status bar, i.e. Greek and a few Arabic

I tried to compile dwm with some Greek and Arab chars for the tag names but dwm only displays some dotted '[]' instead of my selected chars.

Is there a possibility to use non-western characters as tag names in the dwm status bar?


Why are we here? What is the sense of life?
INVITATION TO THE TRUTH

Offline

#2 2007-09-02 16:40:42

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: dwm - Display non-western chars

afaik no. check the dwm mailing list. there are some related posts even from 2.x dwm release


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#3 2007-09-03 01:44:14

jadeshade
Member
Registered: 2007-06-05
Posts: 4

Re: dwm - Display non-western chars

does the font you're compiling dwm with have glyphs for those chars?

Offline

#4 2007-09-03 16:14:58

azerty
Member
Registered: 2007-08-23
Posts: 90
Website

Re: dwm - Display non-western chars

I simply don't know. How can I find out?

At the moment I use the default font,

-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*

.

Any suggestions for a suitable font?


Why are we here? What is the sense of life?
INVITATION TO THE TRUTH

Offline

#5 2007-09-03 16:24:19

upsidaisium
Member
From: Vietnam
Registered: 2006-09-16
Posts: 263
Website

Re: dwm - Display non-western chars

as dolby mentioned, this has been brought up again in the mailing list.  not sure if it was resolved, though.

terminus might be a decent font to choose, but i think you might run into the same problems again anyway hmm

Last edited by upsidaisium (2007-09-03 16:24:42)


I've seen young people waste their time reading books about sensitive vampires. It's kinda sad. But you say it's not the end of the world... Well, maybe it is!

Offline

#6 2007-09-03 16:57:36

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: dwm - Display non-western chars

upsidaisium wrote:

as dolby mentioned, this has been brought up again in the mailing list.  not sure if it was resolved, though.

terminus might be a decent font to choose, but i think you might run into the same problems again anyway hmm

There is a testcase there though :
http://www.suckless.org/pipermail/dwm/2 … 03391.html

wget -q -O - nic.ru | iconv -f windows-1251 -t utf-8 | grep '<title>' | dmenu -fn "-*-terminus-medium-*-*-*-14-*-*-*-*-*-iso10646-1"

That doesn't work properly indeed. But with "-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*" instead, it works fine.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#7 2007-09-03 17:18:43

azerty
Member
Registered: 2007-08-23
Posts: 90
Website

Re: dwm - Display non-western chars

I just read the the link you gave me, upsidaisium.

I tried to display some non-western chars, Japanese, Chinese, Greek, and Russian worked, even if they're displayed in weird way. (fat) Only Arabic doesn't work with my current (default) font.

Here you'll find a pic how these non-western chars are displayed by dwm. First is Arabic, then Greek and after that Cyrillic.

What should I do to get all these chars displayed and above all get them normally displayed without being too fat as seen in the pic.

Maybe my question should better be: Which font do I have to use to display all these chars correctly?

Last edited by azerty (2007-09-03 17:28:55)


Why are we here? What is the sense of life?
INVITATION TO THE TRUTH

Offline

Board footer

Powered by FluxBB