You are not logged in.

#1 2009-03-04 21:13:08

Kisha
Member
Registered: 2009-03-02
Posts: 4

[Solved] Help needed with getting fonts antialiased.

Greetings.  I'm in the process of installingArch and I must be missing something as fonts just aren't antialiasing.  Any help would be appreciated.  I'm using the Fonts guide on the wiki.  Here's the steps I did:

pacman -Rd libxft

yaourt -S fontconfig-lcd cairo-lcd

pacman -S libxft-lcd

Freetype is installed and I linked what I could to /etc/fonts/conf.d/:

10-autohint.conf              40-nonlatin.conf       65-nonlatin.conf
10-sub-pixel-rgb.conf         45-latin.conf          69-unifont.conf
20-fix-globaladvance.conf     49-sansserif.conf      70-no-bitmaps.conf
20-unhint-small-vera.conf     50-user.conf           80-delicious.conf
29-replace-bitmap-fonts.conf  51-local.conf          90-synthetic.conf
30-metric-aliases.conf        60-latin.conf          README
30-urw-aliases.conf           65-fonts-persian.conf

I've tried changing settings in the KDE control center from "System Settings" to Enabled, started a new app.  But no luck.  I've created a basic ~/.fonts.conf that has antialiasing and hinting, logging out and logging in again to no avail.  What got me was that fontconfig didn't install a 10-antialias.conf:

10-autohint.conf           25-unhint-nonlatin.conf       60-latin.conf
10-no-sub-pixel.conf       29-replace-bitmap-fonts.conf  65-fonts-persian.conf
10-sub-pixel-bgr.conf      30-metric-aliases.conf        65-khmer.conf
10-sub-pixel-rgb.conf      30-urw-aliases.conf           65-nonlatin.conf
10-sub-pixel-vbgr.conf     40-nonlatin.conf              69-unifont.conf
10-sub-pixel-vrgb.conf     45-latin.conf                 70-no-bitmaps.conf
10-unhinted.conf           49-sansserif.conf             70-yes-bitmaps.conf
20-fix-globaladvance.conf  50-user.conf                  80-delicious.conf
20-unhint-small-vera.conf  51-local.conf                 90-synthetic.conf

Is this the problem?  Obviously I'm missing a step here.  Any ideas, what do I need to do?

Last edited by Kisha (2009-03-05 01:18:41)

Offline

#2 2009-03-04 23:35:57

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

Re: [Solved] Help needed with getting fonts antialiased.

The monster Gentoo thread probably has the answer to this.

Check that you have /etc/fonts/conf.d/50-user.conf , to actually *use* your ~/.fonts.conf

Last edited by brebs (2009-03-04 23:36:25)

Offline

#3 2009-03-05 00:02:09

Kisha
Member
Registered: 2009-03-02
Posts: 4

Re: [Solved] Help needed with getting fonts antialiased.

Dallied through the thread and didn't find anything.  No luck thus far.  Looks like this is a system-wide problem as KDM in not antialiasing.  Change to a new ~/.fonts.conf:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <match target="font" >
    <edit mode="assign" name="rgba" >
      <const>rgb</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>hintslight</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>
</fontconfig>

but the problem persists.  Argh, this is tough.  Did I possibly forget something?

Last edited by Kisha (2009-03-05 00:03:19)

Offline

#4 2009-03-05 01:18:16

Kisha
Member
Registered: 2009-03-02
Posts: 4

Re: [Solved] Help needed with getting fonts antialiased.

Got it figured out.  KDE displayed selection of fonts as Sans Serif... so I thought that pacman xorg kda installed some basic fonts.  Appreciate the help brebs.  Marking as done.

Offline

Board footer

Powered by FluxBB