LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Dwm displaying weird font characters in status bar and some website content (https://www.linuxquestions.org/questions/linux-desktop-74/dwm-displaying-weird-font-characters-in-status-bar-and-some-website-content-4175592194/)

cors 10-25-2016 11:10 AM

Dwm displaying weird font characters in status bar and some website content
 
Hello,

I'm using Arch Linux with dwm desktop. I was trying to do make some changes in my ~/.xinitrc, and now my dwm status bar displays weird characters. I reverted all the changes i made in /etc/X11/xconfig.d and ~/.xinitrc, but the problem persists. The characters get also displayed on some web forms too (which makes it very difficult for me to post even this). Do you have any idea what may cause this?

Here's a link of my screenshot:

http://oi65.tinypic.com/24l9a95.jpg

ondoho 10-26-2016 04:15 PM

which font is dwm set to use?
looks like your standard monospace font got replaced with a symbol font.
installed any symbol fonts lately? try uninstalling them.

edit:
it would also be good to know which changes you did & undid both in ~/.xinitrc and /etc/X11...

cors 10-28-2016 11:47 AM

All monospace fonts have been somehow erased, installing a monospace font package solved the issue. Thanks.

Shadow_7 10-28-2016 12:20 PM

Arch lacks the msttcorefonts by default. And adding them isn't an intuitive thing after knowing that such a thing exists. Basically I had the same result as you until I added that font set. Although I'm sure other font sets exist, and ofc not installed by default. And defaults to wingdings/webdings when not available for some odd reason. One of many reasons I'll probably end up back on debian (again).

ondoho 10-28-2016 12:44 PM

Quote:

Originally Posted by Shadow_7 (Post 5624168)
Arch lacks the msttcorefonts by default. And adding them isn't an intuitive thing after knowing that such a thing exists. Basically I had the same result as you until I added that font set. Although I'm sure other font sets exist, and ofc not installed by default. And defaults to wingdings/webdings when not available for some odd reason. One of many reasons I'll probably end up back on debian (again).

ok, i have to say this in defence of archlinux:
dwm does not have a usual config file, but has to be compiled with a config.h to change its settings.
in other words, you're supposed to look at it before you compile/install it, and re-compile everytime you want to change something.
fricking leet.

otoh, i simply installed dwm the first time, and it displayed everything ok.
i do not have microsoft fonts installed.

Shadow_7 10-28-2016 02:46 PM

I have made it 40+ days on this arch install. I use cwm which you have to install via sources and is similar to dwm. The last time I tried arch I only lasted about six hours. About two hours to get to a state that I could game. Less than two hours to crash X while gaming. And when I accomplished that a second time, I went back to debian. Stable to about 9 days this time around. Not really an issue I've ever had to deal with in debian.

cors 10-30-2016 08:52 AM

Quote:

Originally Posted by ondoho (Post 5624179)
ok, i have to say this in defence of archlinux:
otoh, i simply installed dwm the first time, and it displayed everything ok.
i do not have microsoft fonts installed.

I also had no problem the first time, i typed into xorg.conf some erroneous syntax and monospace fonts magically disappeared. Now it's fixed with a single pacman -S, and I'm prefectly happy with my dwm & arch :)

ondoho 10-31-2016 02:17 AM

Quote:

Originally Posted by cors (Post 5624818)
i typed into xorg.conf some erroneous syntax

which you still haven't showed us...
i suspect that's where the problem really was.

cors 10-31-2016 02:25 PM

Quote:

Originally Posted by ondoho (Post 5625042)
which you still haven't showed us...
i suspect that's where the problem really was.

i honestly don't remember what exactly it was, i cleared it already and fixed the issue by reinstalling monospace fonts. but i can recall that i mistakingly wrote

Code:

Section "InputDevice"
...
EndSection

syntax into xinitrc, or some other rc file, everything got messed up after that.


All times are GMT -5. The time now is 02:00 AM.