You are not logged in.
Pages: 1
Topic closed
Hi.
I installed KDE on a virtual arch machine, but the font is ugly. I searched but not founded the soulotion.
It's a screenshot of the ugly font in "Arch Linux + KDE":
http://upload7.ir/images/85945281008671097720.png
In other distros, I have not any problem. It's a screenshot of "Chakra Linux + KDE":
http://upload7.ir/images/00921596256764030800.png
I waiting for your answers! I tested it on many machines, but the font is ugly ![]()
Thanks.
Last edited by ojZim (2013-05-23 14:17:52)
Offline
What's your fonts setting in systemsettings-application appearance( or some other appearance, I don' t remember exactly)?
Offline
It's default settings (Sans Serif) and anti-aliasing is enabled in two distros
The settings in Arch and Chakra is Equal but the result is Different.
Offline
Try this font configuration:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
</match>
<match target="font">
<edit name="rgba" mode="assign">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>Paste that into '.config/fontconfig/fonts.conf' and restart KDE, you might also want to look at: https://wiki.archlinux.org/index.php/Font_Configuration
Edit: and also make sure the font configuration in the KDE settings manager is the same as above.
Last edited by kourosh (2013-05-23 12:18:08)
Offline
Try this font configuration:
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <match target="font"> <edit name="antialias" mode="assign"> <bool>true</bool> </edit> </match> <match target="font"> <edit name="hinting" mode="assign"> <bool>true</bool> </edit> </match> <match target="font"> <edit name="hintstyle" mode="assign"> <const>hintslight</const> </edit> </match> <match target="font"> <edit name="rgba" mode="assign"> <const>rgb</const> </edit> </match> <match target="font"> <edit mode="assign" name="lcdfilter"> <const>lcddefault</const> </edit> </match> </fontconfig>Paste that into '.config/fontconfig/fonts.conf' and restart KDE, you might also want to look at: https://wiki.archlinux.org/index.php/Font_Configuration
Edit: and also make sure the font configuration in the KDE settings manager is the same as above.
Thanks Kourosh (ممنون
)
It's Solved.
Offline
Oh!
Update: It's solved on my virtual machine, it was exists ~/config/fontconfig/fonts.conf file on the virtual machine and I edited it.
but on my real machine, It's not exists. I created it and copied your code on it, but my problem not solved in my real machine.
In virtual machin solved, In real machine not solved ![]()
Last edited by ojZim (2013-05-23 13:11:51)
Offline
Ok. It's Solved. the fons.conf is located on ~/.font.conf
You must install these packages:
pacman -S ttf-dejavu ttf-liberationOffline
Try this font configuration:
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <match target="font"> <edit name="antialias" mode="assign"> <bool>true</bool> </edit> </match> <match target="font"> <edit name="hinting" mode="assign"> <bool>true</bool> </edit> </match> <match target="font"> <edit name="hintstyle" mode="assign"> <const>hintslight</const> </edit> </match> <match target="font"> <edit name="rgba" mode="assign"> <const>rgb</const> </edit> </match> <match target="font"> <edit mode="assign" name="lcdfilter"> <const>lcddefault</const> </edit> </match> </fontconfig>Paste that into '.config/fontconfig/fonts.conf' and restart KDE, you might also want to look at: https://wiki.archlinux.org/index.php/Font_Configuration
Edit: and also make sure the font configuration in the KDE settings manager is the same as above.
Thanks so much, I pasted it into ~/.config/fontconfig/fonts.conf, nothing else was necessary. And I got rid of these ugly fonts. Thanks!
Wonder why the default setting is a totally ugly font? Or with other words, wonder why this is not standard in Arch Linux, or why it is not sufficient/possible to do this in the KDE settings manager->fonts...
Last edited by strawberryfields (2016-01-07 11:28:13)
Offline
Fresh install of ArchLinux with Plasma 5.6.
Above method doesn't work anymore. Now do
~/.Xresources
Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintslight
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb
see also https://wiki.archlinux.org/index.php/Fo … me_systems
Offline
@strawberryfields,
please open a new thread for your problem. Link back to this thread if necessary.
Nevermind, I see that you managed to solve it. Please don't bump old threads in any case.
https://wiki.archlinux.org/index.php/Fo … bumping.22
Closing.
Offline
Pages: 1
Topic closed