Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/fontconfig-infinality/files: Xresources
Date: Sun, 29 Jul 2012 15:59:56
Message-Id: 20120729155947.6BA462004B@flycatcher.gentoo.org
1 yngwin 12/07/29 15:59:47
2
3 Added: Xresources
4 Log:
5 Initial commit. Ebuild based on the one in infinality-overlay.
6
7 (Portage version: 2.2.0_alpha120/cvs/Linux x86_64, RepoMan options: --force)
8
9 Revision Changes Path
10 1.1 media-libs/fontconfig-infinality/files/Xresources
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/fontconfig-infinality/files/Xresources?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/fontconfig-infinality/files/Xresources?rev=1.1&content-type=text/plain
14
15 Index: Xresources
16 ===================================================================
17 #################################################################
18 ################## EXPLANATION OF SETTINGS ######################
19 #################################################################
20
21 # XFT settings are like a red-headed stepchild that should be beaten severely.
22 # These only affect legacy programs, and *parts* of some modern programs like
23 # google-chrome. We only deal with these settings because we have to, otherwise
24 # crap will slip by. I recommend using hintslight and autohint as the defaults
25 # normally in local.conf. The reason hintfull and autohint:0 is needed here
26 # because otherwise some programs will occassionally request slight hinting for
27 # a truetype font. When a program does this, Freetype automatically uses the
28 # autohinter, when you may actually want it to be rendered with the TT hinter,
29 # (if specified in local.conf). So setting this to hintfull guarantees that the
30 # TT font will be rendered with the TT hinter (assuming it is specified in
31 # /etc/fonts/local.conf to be rendered that way.) For TT fonts that you want
32 # rendered with autohint, specifiying that in the /etc/fonts/local.conf
33 # should be enough. But you might think that by setting this to hintfull
34 # that it's going to use Freetype's full autohinting (which we *completely*
35 # avoid) for fonts you want autohinted. This is where
36 # INFINALITY_FT_AUTOFIT_FORCE_SLIGHT_HINTING comes in. It tells freetype to
37 # use slight hinting on fonts set for autohinting, even if the program requests
38 # full autohinting. Freetype's full hinting only looks OK under certain
39 # circumstances. The goal of infinality is to make infinality hinting look
40 # good all the time.
41
42 Xft.antialias: 1
43 Xft.autohint: 0
44 Xft.dpi: 96
45 Xft.hinting: 1
46 Xft.hintstyle: hintfull
47 Xft.lcdfilter: lcddefault
48 Xft.rgba: rgb