LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-23-2011, 05:22 AM   #1
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773
Blog Entries: 1

Rep: Reputation: 34
Post Iceweasel4(firefox): cannot enable anti aliasing


Hi,
I have a Debian Testing System. I installed Iceweasel4(Firefox4) from experimental repository and it works fine except for enabling font anti aliasing. fonts looks slim..narrow to Me while the Other browser I use is a webkit based browser "Midori" which renders font anti aliasing fine.

I have Anti Aliasing,subpixel rendering,lcd cleartype patch etc all enabled and whole system font rendering anti aliasing working.

Regarding Cairo,xft all are "supported" versions . about:buildconfig of Iceweasel 4 also shows it was compiled against cairo library.

Help Needed.
TIA+
 
Old 05-23-2011, 10:03 AM   #2
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773

Original Poster
Blog Entries: 1

Rep: Reputation: 34
Solved!: I checked the hintstyle parameter in ~/fonts.conf .

I corrected the hintstyle from hintfull to hintnone OR hintslight and Iceweasel font rendering got anti aliasing fine.
While "hintmedium","hintfull" makes fonts look awful.Any idea why this system needs hintstyle to hintnone?

Quote:
Hint style

Hint style is the amount of influence the hinting mode has. Hinting can be set to: hintfull, hintmedium, hintslight and hintnone. With BCI hinting, hintfull should work best for most fonts. With the autohinter, hintslight is recommended.

Code:
<match target="font">
    <edit name="hintstyle" mode="assign">
      <const>hintfull</const>
    </edit>
  </match>
https://wiki.archlinux.org/index.php...ion#Hint_style
Screenshot:
http://img1.uploadhouse.com/fileuplo...bf09b08c9c.png
My Corrected ~/.fonts.conf:
Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--  Enable sub-pixel rendering --> 
  <match target="font">
    <edit name="rgba" mode="assign"><const>rgb</const></edit>
  </match>
  <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">
    <test name="weight" compare="more">
        <const>medium</const>
    </test>
    <edit name="autohint" mode="assign">
        <bool>false</bool>
    </edit>
    </match>
    <match target="font">
    <edit mode="assign" name="lcdfilter">
      <const>lcddefault</const>
    </edit>
  </match>
</fontconfig>
 
  


Reply



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: How to enable font anti-aliasing in Wine LXer Syndicated Linux News 0 03-25-2009 04:00 PM
How do I enable GTK 1.x font anti-aliasing? (AA) r00tb33r Linux - Software 3 07-04-2007 03:46 PM
Firefox anti aliasing? FLX Linux - Software 2 03-16-2007 07:28 AM
anti-aliasing + Firefox Daedra Slackware 1 11-09-2006 02:44 AM
Cannot enable anti-aliasing fonts under Root Techweenie1 Slackware 2 05-09-2004 11:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:05 PM.

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