nixers
Using a proportional font in dwm status bar - Printable Version
+- nixers (https://nixers.net)
+-- Forum: Desktop Customization, Efficiency, and Aesthetics (https://nixers.net/Forum-Desktop-Customization-Efficiency-and-Aesthetics)
+--- Forum: Desktop Customization & Workflow (https://nixers.net/Forum-Desktop-Customization-Workflow)
+--- Thread: Using a proportional font in dwm status bar (/Thread-Using-a-proportional-font-in-dwm-status-bar)


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.