You are not logged in.
I am having trouble configuring fonts - the all look very "jagged" (photos).
I got it to a point where it wasn't too bad, but I just got a new monitor (27" 2560x1440) and the problem is too big to ignore.
My /etc/fonts/local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match>
<edit mode="prepend" name="family"><string>Noto Sans</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>serif</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Serif</string></edit>
<edit name="family" mode="assign" binding="same"><string>Ubuntu</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>sans-serif</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Sans</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>monospace</string></test>
<edit name="family" mode="assign" binding="same"><string>Noto Sans Mono</string></edit>
<edit name="family" mode="assign" binding="same"><string>Source Code Pro</string></edit>
</match>
<match target="font">
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>Enabled settings:
10-hinting-full.conf -> ../conf.avail/10-hinting-full.conf
10-hinting-slight.conf -> /etc/fonts/conf.avail/10-hinting-slight.conf
10-scale-bitmap-fonts.conf -> /etc/fonts/conf.avail/10-scale-bitmap-fonts.conf
10-sub-pixel-rgb.conf -> ../conf.avail/10-sub-pixel-rgb.conf
11-lcdfilter-default.conf -> /etc/fonts/conf.avail/11-lcdfilter-default.conf
20-unhint-small-dejavu-lgc-sans.conf -> ../conf.avail/20-unhint-small-dejavu-lgc-sans.conf
20-unhint-small-dejavu-lgc-sans-mono.conf -> ../conf.avail/20-unhint-small-dejavu-lgc-sans-mono.conf
20-unhint-small-dejavu-lgc-serif.conf -> ../conf.avail/20-unhint-small-dejavu-lgc-serif.conf
20-unhint-small-dejavu-sans.conf -> ../conf.avail/20-unhint-small-dejavu-sans.conf
20-unhint-small-dejavu-sans-mono.conf -> ../conf.avail/20-unhint-small-dejavu-sans-mono.conf
20-unhint-small-dejavu-serif.conf -> ../conf.avail/20-unhint-small-dejavu-serif.conf
20-unhint-small-vera.conf -> /etc/fonts/conf.avail/20-unhint-small-vera.conf
30-metric-aliases.conf -> /etc/fonts/conf.avail/30-metric-aliases.conf
40-nonlatin.conf -> /etc/fonts/conf.avail/40-nonlatin.conf
45-generic.conf -> /etc/fonts/conf.avail/45-generic.conf
45-latin.conf -> /etc/fonts/conf.avail/45-latin.conf
46-noto-mono.conf -> ../conf.avail/46-noto-mono.conf
46-noto-sans.conf -> ../conf.avail/46-noto-sans.conf
46-noto-serif.conf -> ../conf.avail/46-noto-serif.conf
49-sansserif.conf -> /etc/fonts/conf.avail/49-sansserif.conf
50-user.conf -> /etc/fonts/conf.avail/50-user.conf
51-local.conf -> /etc/fonts/conf.avail/51-local.conf
57-dejavu-sans.conf -> ../conf.avail/57-dejavu-sans.conf
57-dejavu-sans-mono.conf -> ../conf.avail/57-dejavu-sans-mono.conf
57-dejavu-serif.conf -> ../conf.avail/57-dejavu-serif.conf
58-dejavu-lgc-sans.conf -> ../conf.avail/58-dejavu-lgc-sans.conf
58-dejavu-lgc-sans-mono.conf -> ../conf.avail/58-dejavu-lgc-sans-mono.conf
58-dejavu-lgc-serif.conf -> ../conf.avail/58-dejavu-lgc-serif.conf
60-generic.conf -> /etc/fonts/conf.avail/60-generic.conf
60-latin.conf -> /etc/fonts/conf.avail/60-latin.conf
65-fonts-persian.conf -> /etc/fonts/conf.avail/65-fonts-persian.conf
65-nonlatin.conf -> /etc/fonts/conf.avail/65-nonlatin.conf
66-noto-mono.conf -> ../conf.avail/66-noto-mono.conf
66-noto-sans.conf -> ../conf.avail/66-noto-sans.conf
66-noto-serif.conf -> ../conf.avail/66-noto-serif.conf
69-unifont.conf -> /etc/fonts/conf.avail/69-unifont.conf
70-no-bitmaps.conf -> /etc/fonts/conf.avail/70-no-bitmaps.conf
80-delicious.conf -> /etc/fonts/conf.avail/80-delicious.conf
81-ubuntu.conf -> ../conf.avail/81-ubuntu.conf
90-synthetic.conf -> /etc/fonts/conf.avail/90-synthetic.conf I feel like the size of the font on the screen is OK (could be a touch bigger if it had to be).
Any ideas what I can do?
Last edited by zoran119 (2020-11-03 10:00:26)
Offline
Just to explain a bit more what I mean by "jagged" - the vertical lines in some cases are very weak, for example the vertical cursor in some positions is nice and black, but in some is grey; the letters "i" and "l" are sometimes black and sometimes very faint.
Last edited by zoran119 (2020-11-02 11:04:43)
Offline
Assuming you use Xorg, you have checked if X uses the correct DPI for your screen ?
https://wiki.archlinux.org/index.php/Xo … ze_and_DPI
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Yes, I am using Xorg. I did check the DPI (the screen is 109) and I've set it as a parameter to startx and in my .Xresources. Still the same problem ![]()
Offline
Yet it is looking really good at 1920x1080.
Last edited by zoran119 (2020-11-03 05:15:54)
Offline
Does this affect all clients? What about eg. xterm?
Edit: please also post the output of "xrandr -q" to ensure there's no scaling or multihead confusion at play.
Last edited by seth (2020-11-03 07:17:35)
Online
Turns out the poor rendering was due to incorrect refresh rate for the monitor (was too low). All good now!
Offline