Closed hrqmonteiro closed 3 years ago
Oh. I think it is just because of my HiDPI monitor. More pixels -> more detail -> smoother fonts.
If you check the themes I released on my old laptop, e.g. Lovelace, the fonts do not look nearly as good as now.
You mean the apple monitor, though?
So, i have a laptop on Full Hd and a PC on a 4k monitor, and the fonts are pretty shit on them, too, so there's nothing i can do except buy a Apple Monitor? That's sad hahaha
It is not an Apple monitor (although they are pretty good).
I am using a 15.6 inch laptop monitor with a resolution of 3840x2160
. As a result, I have to set Xft.dpi: 288
in my ~/.Xresources
in order for things to be scaled correctly. Without this setting, fonts and AwesomeWM elements look tiny.
All that matters for having smooth fonts is pixel density (basically a high DPI). It could be that your monitor is so large that even with a 4K resolution, pixels are not as dense as on my much smaller monitor.
Well i guess it could be that. I'm running 166 Dpi, so probably not even close of the quality.
But just one few quick question: i'm using Google Sans as you said you use for the sans. And on your config, on the ephemeral bar for example, you use "sans medium 11", but looking at the prints i sent, your font looks "thicker" than mine, as in the font weight are higher. So, even without the dpi question, shouldn't my font be thicker, more like yours, even though in low quality? I set my font as Google Sans Medium and still looks thinner..
Yes, the medium
variant should be slightly thicker than normal.
It could be that you have installed Google Sans but not its medium
variant.
You can use this command to make sure it is installed:
fc-list | grep 'Google Sans Medium'
It should print at least 1 line. For example, this is my output:
/home/elena/.local/share/fonts/Google-Sans-Font/GoogleSans-Medium.ttf: Google Sans,Google Sans Medium:style=Medium,Regular
/home/elena/.local/share/fonts/Google-Sans-Font/GoogleSans-MediumItalic.ttf: Google Sans,Google Sans Medium:style=Medium Italic,Italic
I had it, but it was some issue with the width on my setup, but i could work it out. And sorry for late comment and keeping the issue closed, it was just that i was frustrated with my config and stop working on it haha.
I copied your fonts-config and i have antia-aliased and all this stuff. I even tested it with your own fonts on the setup. (As let's say, Source Sans Pro for the sans-serif), but my fonts are not beautiful like this:
Is actually not NEARLY close. Look here at my tasklist:
Is there anything more you do with the fonts?
Update: I updated the second screenshot