LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-23-2010, 05:28 AM   #1
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
Question Can I install any package to make font smoothing better on Debian?


I am pretty new to GNU/Linux. I use Mint but want to use Debian. The problem is, Debian has worse font smoothing. Ubuntu's smoothing is great! Is there any possibility to simply install any package on Debian stable to make Debian's font smoothing exactly as it is in Ubuntu?

Some people told me how to make Debian's smoothing better, but I'm not that experienced to do that. It's too difficult for me.
 
Old 05-23-2010, 07:26 AM   #2
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675
Blog Entries: 11

Rep: Reputation: 36
try:
Quote:
aptitude install ttf-mscorefonts-installer
as root. maybe that will help.
 
Old 05-23-2010, 08:58 AM   #3
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Original Poster
Rep: Reputation: Disabled
No, you got me wrong. I am satisfied with fonts. I want to improve font smoothing.
 
Old 05-23-2010, 09:04 AM   #4
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675
Blog Entries: 11

Rep: Reputation: 36
maybe this then:

System -> Preferences -> Appearance -> Fonts Tab
Then click 'Subpixel Smoothing'

Is that it?
 
Old 05-23-2010, 09:21 AM   #5
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Original Poster
Rep: Reputation: Disabled
No again.
That "Subpixel Smoothing" differs in different distributions. The point is - "Subpixel Smoothing" in Ubuntu is what I like and "Subpixel Smoothing" in Debian is what I don't like. So I would like to make "Subpixel Smoothing" of Debian the same as it is in Ubuntu, because they differ.
 
Old 05-23-2010, 10:01 AM   #6
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 564

Rep: Reputation: 131Reputation: 131
Regardless of DE, I do the following
Code:
dpkg-reconfigure fontconfig-config
and answer Native or Autohinter, Always and Yes respectively.
 
Old 05-23-2010, 10:07 AM   #7
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Rep: Reputation: 65
Quote:
Originally Posted by Mr. Alex View Post
No, you got me wrong. I am satisfied with fonts. I want to improve font smoothing.
Can you post a screenshot for that font?
 
Old 05-23-2010, 01:52 PM   #8
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Quote:
Originally Posted by Mr. Alex View Post
I am pretty new to GNU/Linux. I use Mint but want to use Debian. The problem is, Debian has worse font smoothing. Ubuntu's smoothing is great! Is there any possibility to simply install any package on Debian stable to make Debian's font smoothing exactly as it is in Ubuntu?

Some people told me how to make Debian's smoothing better, but I'm not that experienced to do that. It's too difficult for me.
This is what you need:

http://hadret.posterous.com/hadrets-debian-ppa

This repository contains the patched versions of libxft2 and libcairo2 - the libraries that control how fonts are looking.
The libraries in official Debian repos are not patched - i dont know the exact reasons.
So the smoothing is not that good.

Be careful though: the repository contains all kind of stuff, you need only these 2 libraries. If not pinned these 2 packages, the others will be upgraded too and could lead to corrupt package system!

I would advise to create a /etc/apt/preferences file:

Press alt+f2, type:

Code:
gksudo gedit /etc/apt/preferences


with the following content (you need need root rights):

Code:
Package: *
Pin: release a=unstable
Pin-Priority: 1

Package: libcairo2
Pin: release a=unstable       
Pin-Priority: 999

Package: libxft2
Pin: release a=unstable       
Pin-Priority: 999
This will prevent the rest of the packages from the repository to be upgraded. But be careful - some packages in the main repositories still depend on the official versions of these 2 packages so you might have some conflicts here and there. If you feel you are not up to resolve dependency problems, read around or dont use the repository.
 
Old 05-23-2010, 02:22 PM   #9
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by cola View Post
Can you post a screenshot for that font?
Font smoothing I like? Sure:

http://i129.photobucket.com/albums/p...l/06d73f2b.png
 
Old 05-23-2010, 02:30 PM   #10
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Original Poster
Rep: Reputation: Disabled
gradinaruvasile, can I just download those two DEB files and install them from my HDD, so no need to add new repositories?
 
Old 05-23-2010, 02:56 PM   #11
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Yes you can. But you wont get upgrades for them afterwards.
And the version mismatch situation will still be there.
 
Old 05-24-2010, 02:11 AM   #12
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Hm I must be missing somethin.
Your image on the left, mine on the right.
http://yfrog.com/0t201005240307591280x1024p

My eyesight sucks, but I do not seen much if any difference.
 
Old 05-24-2010, 04:11 AM   #13
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Original Poster
Rep: Reputation: Disabled
Quote:
I do not seen much if any difference.
There is a little difference, your smoothing is not bad though...

Quote:
And the version mismatch situation will still be there.
So it will decrease stabilty, right?
 
Old 05-24-2010, 05:24 AM   #14
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Stability itself is not a problem. I use this patch for quite a while on 3 computers with Debian Squeeze and had no stability issues. Its just that if you want to install something that depends explicitly on the official debian version you will be in trouble. It did happen to me, but i was able to resolve the dependency problems. If you cant, you might end up with a system where the packet management is broken - this means no packages can be installed or upgraded.
 
1 members found this post helpful.
  


Reply

Tags
debian, font, lcd, rendering, smooth, ubuntu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Font smoothing in OpenSUSE 11.2 LXer Syndicated Linux News 0 12-07-2009 09:10 AM
Java Font Smoothing Jaggedy, not Smooth taylor_venable Linux - Software 0 11-06-2007 06:22 PM
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
Grayscale font smoothing in Gnome2... and KDE? myst Linux - Software 0 06-14-2003 12:06 PM
freetype font w/ smoothing wawanryn Linux - General 1 11-03-2002 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration