nixers
Using a proportional font in dwm status bar - Printable Version
+- nixers (https://nixers.net)
+-- Forum: Desktop Customization, Efficiency, and Aesthetics (https://nixers.net/forumdisplay.php?fid=45)
+--- Forum: Desktop Customization & Workflow (https://nixers.net/forumdisplay.php?fid=15)
+--- Thread: Using a proportional font in dwm status bar (/showthread.php?tid=2176)


Using a proportional font in dwm status bar - Dworin - 21-11-2017

I'm using dwm and was experimenting with a proportional font (EB Garamond*) in the status bar to go with a renaissance painting (Rembrandt) as wallpaper.

I use a modified dwmstatus.c which I pulled from the suckless wiki (can't find it there anymore though) which call XStoreName to set the window name.

The problem is that though whatever is displayed looks ok, X seems to wrongly calculate the screen space needed and the string is only partially displayed. With monospace fonts this does not happen. Is there a way to get this to work nicely?

*EB Garamond is nice but for a bar with changing numbers (clock etc) proportional numbers are awful. If someone knows of a nice humanist font with monospace numbers (column numbers or whatever) I'd like to know before I start hacking my own in fontforge.