1 |
Hi! |
2 |
|
3 |
On Tue, Jul 15, 2014 at 01:45:55PM +0400, Сергей wrote: |
4 |
> Hello everybody. In my Gentoo system (I have also tried Gentoo 2012 |
5 |
> livedvd) GTK-applications (for example: mousepad, gedit, leafpad, |
6 |
> Firefox, Chromium and all the websites opened in these two browsers) |
7 |
> do not use Subpixel Hinting. |
8 |
|
9 |
I'm not a guru of font configuration, but I believe subpixel hinting works |
10 |
on my system (at least in Firefox), so here is my config: |
11 |
|
12 |
[ebuild R ] www-client/firefox-24.6.0 USE="alsa dbus jit libnotify minimal system-cairo system-icu system-jpeg -bindist -custom-cflags -custom-optimization -debug -gstreamer (-pgo) -pulseaudio (-selinux) -startup-notification -system-sqlite {-test} -wifi" LINGUAS="ru -af -ak -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -ku -lg -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -nso -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -si -sk -sl -son -sq -sr -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh_CN -zh_TW -zu" 0 kB |
13 |
|
14 |
# eselect fontconfig list |
15 |
Available fontconfig .conf files (* is enabled): |
16 |
[1] 10-autohint.conf |
17 |
[2] 10-no-sub-pixel.conf |
18 |
[3] 10-scale-bitmap-fonts.conf * |
19 |
[4] 10-sub-pixel-bgr.conf |
20 |
[5] 10-sub-pixel-rgb.conf * |
21 |
[6] 10-sub-pixel-vbgr.conf |
22 |
[7] 10-sub-pixel-vrgb.conf |
23 |
[8] 10-unhinted.conf * |
24 |
[9] 11-lcdfilter-default.conf * |
25 |
[10] 11-lcdfilter-legacy.conf |
26 |
[11] 11-lcdfilter-light.conf |
27 |
[12] 20-unhint-small-dejavu-sans.conf * |
28 |
[13] 20-unhint-small-dejavu-sans-mono.conf * |
29 |
[14] 20-unhint-small-dejavu-serif.conf * |
30 |
[15] 20-unhint-small-vera.conf * |
31 |
[16] 25-unhint-nonlatin.conf |
32 |
… |
33 |
|
34 |
Plus /etc/fonts/local.conf: |
35 |
<?xml version="1.0"?> |
36 |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> |
37 |
<fontconfig> |
38 |
<!-- 3 options affect how fonts will looks like: |
39 |
- antialiasing (enabled by default) |
40 |
- sub-pixel rendering (eselect fontconfig enable/disable 10-no-sub-pixel.conf) |
41 |
- hinting (disabled by default) |
42 |
--> |
43 |
<match target="font"> |
44 |
<edit mode="assign" name="hinting"> |
45 |
<bool>true</bool> |
46 |
</edit> |
47 |
</match> |
48 |
<match target="font"> |
49 |
<edit mode="assign" name="hintstyle"> |
50 |
<const>hintfull</const> |
51 |
</edit> |
52 |
</match> |
53 |
<!-- MacOSX's fonts looks ugly when hinting enabled --> |
54 |
<match target="font"> |
55 |
<test name="family"> |
56 |
<string>Helvetica</string> |
57 |
</test> |
58 |
<edit name="hinting"> |
59 |
<bool>false</bool> |
60 |
</edit> |
61 |
</match> |
62 |
<match target="font"> |
63 |
<test name="family"> |
64 |
<string>Helvetica Neue</string> |
65 |
</test> |
66 |
<edit name="hinting"> |
67 |
<bool>false</bool> |
68 |
</edit> |
69 |
</match> |
70 |
<match target="font"> |
71 |
<test name="family"> |
72 |
<string>Monaco</string> |
73 |
</test> |
74 |
<edit name="hinting"> |
75 |
<bool>false</bool> |
76 |
</edit> |
77 |
</match> |
78 |
… |
79 |
</fontconfig> |
80 |
|
81 |
-- |
82 |
WBR, Alex. |