I believe if you don't have the fonts, you can download them from these links:
Ubuntu font rendering on Debian Wheezy & Sid
Download Page for fontconfig-config Debian Wheezy
Method #1
you can choose other packages such as Wheezy, Sid, Squeeze and so on, if you like here: All Debain packages for fontconfig
follow the steps:
1- Download the package.
2- open .deb file with Archive Manager
3- enter the **/etc/fonts** directory
4- open nautilus and brows to **/etc/fonts**
5- drag all the files and folders from the archive into the file browser
6- Log out and log in, and change font preferences.
The full procedure is on this link: Ubuntu font rendering on Debian Wheezy & Sid
![an image for clarification from the same site](https://cdn.statically.io/img/i.sstatic.net/xbff7.png)
Method #2
you need to recompile the package again; the original one you have on your system like this:
su -c 'dpkg-reconfigure fontconfig'
Then type:
touch .fonts.conf
after that, open the config file
nano .fonts.conf
Then paste in this code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<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="rgba" >
<const>rgb</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>
<match target="pattern">
<edit name="dpi" mode="assign">
<double>96</double></edit>
</match>
</fontconfig>
for lolz, paste into .Xdefaults :
Xft.autohint: 0
Xft.antialias: 1
Xft.hinting: true
Xft.hintstyle: hintslight
Xft*dpi: 96
Xft.rgba: rgb
Xft.lcdfilter: lcddefault
Last, Log out and log in to see things in affect...
gnome-tweak-tool
run it and navigate to its "Fonts" tab.en_US
locale and the one matching your country. It's OK to only have those withUTF-8
encoding enabled among these two categorues. So, most of the time you only need two locales.