You are not logged in.
Pages: 1
Hi guys,
How can I fix this problem? Font rasterization in Empathy and LuaKit. Chrome is ok! I'm using gnome 3.10.
Empathy: http://imgur.com/AHQao5T
Chromium: http://imgur.com/S91v6fY
Why?
Last edited by antuirno (2014-03-18 01:17:02)
Offline
That's what fonts look like when fontconfig's antialias is set to false ![]()
Offline
My /etc/fonts/local.conf
antialias is true!
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font">
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
<edit mode="assign" name="antialias">
<bool>true</bool>
</edit>
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>Offline
do you have anything in ~/.config/fontconfig ? I had a similar problem a while back where I couldn't figure out why my fonts looked so ugly even nothing in /etc/fonts seemed to have changed. Turned out I had a fonts.conf under ~/.config/fontconfig with the crappy default settings. I have infinality fonts set up though - I'm not sure if the vanilla fontconfig puts configuration files there.
Offline
I used to have problems with my fonts. They looked very ugly. The way I fixed it was simple:
1) create the file ~/.config/fontconfig/fonts.conf with this content:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font" >
<edit mode="assign" name="autohint"> <bool>true</bool></edit>
<edit mode="assign" name="hinting"> <bool>false</bool></edit>
<edit mode="assign" name="lcdfilter"> <const>lcddefault</const></edit>
<edit mode="assign" name="hintstyle"> <const>hintslight</const></edit>
<edit mode="assign" name="antialias"> <bool>true</bool></edit>
<edit mode="assign" name="rgba"> <const>rgb</const></edit>
</match>
<match target="font">
<test name="pixelsize" qual="any" compare="more"><double>15</double></test>
<edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit>
<edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
</match>
<match target="font">
<test name="weight" compare="more"><const>medium</const></test>
<edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
<edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit>
</match>
<match target="font">
<test name="slant" compare="not_eq"><double>0</double></test>
<edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
<edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit>
</match>
</fontconfig>It was taken from the wiki https://wiki.archlinux.org/index.php/Fo … g_Examples
For more information about Font Configuration read this: https://wiki.archlinux.org/index.php/Font_Configuration
2) Install this packages:
pacman -S ttf-dejavu ttf-liberation(ttf-liberation improves the fonts in Chrome a lot)
Regards!
Last edited by aryklein (2014-03-17 19:36:20)
Offline
Thank you so much guys! But, nothing worked... ![]()
So, I just installed ubuntu font family and infinality-bundle and thats works! Font renderization looks great now!
Offline
Pages: 1