[SOLVED easily] Debian fonts still not as nice as Ubuntu's

Everything about X, Gnome, KDE, ... and everything running on it

Re: [SOLVED easily] Debian fonts still not as nice as Ubuntu

Postby vbrummond » 2011-10-25 04:54

Oh, I should mention to the person I was kind of semi rudely contradicting above. Apologies, I am not numbering you among the fanboys.
Always on Debian Testing
vbrummond
 
Posts: 4468
Joined: 2010-03-02 01:42

Re: [SOLVED easily] Debian fonts still not as nice as Ubuntu

Postby aaralynatikah » 2011-10-25 04:57

I use 6 distro linux in My computer (Debian / ubuntu / slackware / Fedora / Mandriva / and BackTrack) + FreeBSD + Windows 7 ! So it’s 8 OS! If I'm tired of using one OS that I have, I'll switch to another OS! but I never blame the OS that I have if I get trouble. If You do not want to use it, Do not use, but if You want to use it, prepared to accept all the risks and remember do not ever insult / blame between one (OS) with another (OS) ! all distributions (OS) have advantages and disadvantages of each, nothing is 100% perfect, if you want (OS) is perfect for you. May I suggest to use the LFS (Linux From Scratch) and make your own distro!! Thank you! :)
aaralynatikah
 
Posts: 4
Joined: 2011-08-15 13:26

Re: [SOLVED easily] Debian fonts still not as nice as Ubuntu

Postby el_koraco » 2011-10-25 14:34

rorschach wrote:
ivanovnegro wrote:It is a nice example of just going straight into confrontation.

You should see how this thread started. All I did is ask how to get my fonts to look better, and a whole bunch of people got all sorts of butthurt. This forum is notorious for being a lousy community, and it's probably because of stuff like this.


Code: Select all
su -c 'dpkg-reconfigure fontconfig-config'


answer Native, Automatic, Yes

Code: Select all
su -c 'dpkg-reconfigure fontconfig'

touch .fonts.conf
nano .fonts.conf


paste in:

Code: Select all
<?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, create, or paste into .Xdefaults:

Code: Select all
Xft.autohint: 0
Xft.antialias: 1
Xft.hinting: true
Xft.hintstyle: hintslight
Xft*dpi: 96
Xft.rgba: rgb
Xft.lcdfilter: lcddefault


Log out, log back in. I actually find Debian's fonts to be slightly better than Ubuntu's with the recent versions of libcairo2, libxft and libfreetype6 (make sure you have all these installed). Get back in case we need to tidy it up some more.
User avatar
el_koraco
 
Posts: 178
Joined: 2011-10-20 11:49

Re: [SOLVED easily] Debian fonts still not as nice as Ubuntu

Postby rorschach » 2011-10-26 01:11

el_koraco wrote:Log out, log back in. I actually find Debian's fonts to be slightly better than Ubuntu's with the recent versions of libcairo2, libxft and libfreetype6 (make sure you have all these installed). Get back in case we need to tidy it up some more.

The fonts were OK after copying Ubuntu's /etc/fonts/ into Debian's. But, I figured I'd go ahead and try what you posted to see if the fonts could be improved even further. Unfortunately, it seems to have ruined the rendering of some fonts. You'll notice that the GNOME interface and most web pages (see the Wikipedia example) still render fine.
Image
rorschach
 
Posts: 65
Joined: 2011-08-12 23:54

Re: [SOLVED easily] Debian fonts still not as nice as Ubuntu

Postby el_koraco » 2011-10-26 08:05

Run the first command, and choose Autohinter, Always, No in that case (the last one has to do with bitmap fonts, dunno if you use those), or Native, Always, No. Or just cp the whole /etc7fonts from Ubuntu again.
User avatar
el_koraco
 
Posts: 178
Joined: 2011-10-20 11:49


Re: [SOLVED easily] Debian fonts still not as nice as Ubuntu

Postby grege » 2012-02-24 04:00

el_koraco wrote:......
Log out, log back in. I actually find Debian's fonts to be slightly better than Ubuntu's with the recent versions of libcairo2, libxft and libfreetype6 (make sure you have all these installed). Get back in case we need to tidy it up some more.


Thank you for this answer. I had not had any font troubles for ages then last week I had to re-install from scratch (Wheezy) on a new drive and suddenly found crappy fonts, especially in Chrome and Chromium. After reading copious quantities of out of date rubbish I found you post and, just like that, fonts fixed. I have it in my bookmarks in Chrome for future reference.
User avatar
grege
 
Posts: 214
Joined: 2009-08-13 11:10
Location: Melbourne, Australia

Previous

Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable