You are not logged in.

#1 2010-09-11 13:20:26

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

Not all the fonts get smoothed

http://www.associatedcontent.com/articl … power.html

The headline of the article is not smoothed in my system, other text is smoothed. Why? My .fonts.conf:

<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="font">
  <edit mode="assign" name="rgba">
   <const>none</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hinting">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle">
   <const>hintfull</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="antialias">
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>

It's not the only text on Web I meet that is not smoothed. 98% of text has great smoothing, other 2% doesn't have smoothing and looks ugly. How to fix it?

Offline

#2 2010-09-11 19:33:43

Jodell
Member
Registered: 2009-10-09
Posts: 285

Re: Not all the fonts get smoothed

Removing the xorg fonts will most likely solve the problem.

A picture of what you are seeing will also help.

Offline

#3 2010-09-12 02:09:31

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Not all the fonts get smoothed

Mr. Alex wrote:

The headline of the article is not smoothed

I assume you're missing:

    <!-- Reject bitmap fonts in favour of Truetype, Postscript, etc. -->
    <selectfont>
        <rejectfont>
            <pattern>
                <patelt name="scalable">
                    <bool>false</bool>
                </patelt>
            </pattern>
        </rejectfont>
    </selectfont>


    <!-- http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/fontconfig/current/SOURCES/26-mdv-no-embeddedbitmap.conf?view=markup
    Japanese fonts: http://bbs.archlinux.org/viewtopic.php?id=91276
    Calibri font: http://forums.fedoraforum.org/showthread.php?p=1045807#post1045807
    Don't use bitmaps at all, because they look horrible. Enable them for individiual fonts and sizes, if needed. -->
    <match target="font">
        <edit name="embeddedbitmap" mode="assign">
            <bool>false</bool>
        </edit>
    </match>

Anyway, see Gentoo fonts thread for the state-of-the-art in font rendering - currently, Infinality's freetype patches.

Offline

#4 2010-09-12 02:44:34

kpbotbot
Member
From: Philippines
Registered: 2010-08-02
Posts: 93
Website

Re: Not all the fonts get smoothed

Like Calibri? :DD


Sex is not the answer.

Sex is the question, and Yes is the answer.

Offline

#5 2010-09-12 07:21:54

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

Re: Not all the fonts get smoothed

brebs, thanks, your advice worked perfectly!

Offline

Board footer

Powered by FluxBB