You are not logged in.
This issue only arises with dwm, not in gnome terminal: if I open a terminal in dwm with alt+shift+enter, the letters there have a very irregular spacing, some of them overlapping with others, some being too far apart.
What is the relevant setup that I'm supposed to check and edit?
Last edited by nicolo (2017-10-11 03:42:12)
Offline
What you describe sounds like you are using a proportional font instead of a monospace font.
Offline
Hi, thanks for helping. In my case, what I mean is that text is really difficult to read, not a matter of taste as it looks in mono vs proportional font. What is the relevant configuration anyway?
Offline
something similar to the issue of this post https://bbs.archlinux.org/viewtopic.php?id=192452
Offline
Offline
Sorry for my ignorance, how do I check this?
Offline
something similar to the issue of this post https://bbs.archlinux.org/viewtopic.php?id=192452
What you link to is exactly that proportional vs. monospace issue. The overlapping characters come from the terminal programs using a character like "x" to decide on what grid to use to paint characters in. Wide characters like "m" then do not fit inside their spot in that grid and overlap onto the following character. This is not a problem with monospace fonts as all characters have the same size.
You need to find out how that particular program you are using gets configured and make it use a monospace font you like.
Offline
Sorry for my ignorance, how do I check this?
You shouldn't have to "check" it - you had to set it in your config.h (or config.h.def). If you are using a pure vanilla dwm, then the default is st.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I haven't compiled it, just installed from pacman in Arch, so I guess I'm using the default of arch linux package.
Offline
Is this solved then?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
no, in that I have the problem described at beginning
Offline
very useful.. what do you mean?
both are installed, I haven't edited config.h and would prefer not to compile, unless necessary.
Offline
Ropid: I missed you last post. So basically I should configure st to use monospace?
Offline
I looked it up for you. It wants to use the font "Fixed" by default. If you install that, things should look fine. That's what you could do if you really don't want to deal with configuring it.
EDIT: I think "fixed" is already installed by default as part of Xorg?
EDIT2: For me here, the font is named "Misc Fixed" for some reason. I guess that's why it's not working. There's something about that in the ArchWiki, mentioning that things got different names when a certain freetype2 version came out. How to get the old names to work is described here:
https://wiki.archlinux.org/index.php/fo … tmap_Fonts
Last edited by Ropid (2017-05-19 20:36:55)
Offline
very useful.. what do you mean?
I mean you need to read. If you are unwilling to do so, don't expect to have your hand held.
You didn't configure a terminal for dwm, so you got the default st. You didn't configure a font for st, so you got the default "Misc Fixed". You did not configure font-config so you got the default result for "Misc Fixed" which is garbage.
If you don't want to do anything for yourself, don't expect it to be done for you. And if you will not read the wiki and learn, do not expect your threads to remain on these forums.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Thank you Ropid, that's exactly as you say: I did set up in the past terminus-font, which is mentioned in the wiki you cited as becoming corrupted after a certain upgrade.
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
And please make more of an effort to help yourself in future.
Offline