

Code: Select all
# eselect fontconfig enable 10-sub-pixel-rgb.conf 11-lcdfilter-default.conf 60-liberation.confTake a look at /etc/fonts/conf.avail/60-liberation.conf:Massimo B. wrote:According to the Wiki, if the Gentoo Fonts team recommendation for default Latin fonts is media-fonts/liberation-fonts, do I need to enable 60-liberation.conf?
Which setups are fully working font setups so I could compare what I do prefer...
If the WM like Xfce already sets it's own default font, what does 60-liberation.conf set then?
Code: Select all
#cat /etc/fonts/conf.avail/60-liberation.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Symlinking this file to /etc/fonts/conf.d/ will allow
you to use liberation fonts instead of the microsoft truetype fonts.
(from http://uwstopia.nl/blog/2007/05/free-your-fonts) -->
<!-- Liberation fonts -->
<match target="pattern">
<test qual="any" name="family"><string>Times New Roman</string></test>
<edit name="family" mode="assign"><string>Liberation Serif</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Arial</string></test>
<edit name="family" mode="assign"><string>Liberation Sans</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Courier</string></test>
<edit name="family" mode="assign"><string>Liberation Mono</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Arial Narrow</string></test>
<edit name="family" mode="assign"><string>Liberation Sans Narrow</string></edit>
</match>
</fontconfig>
Code: Select all
[x] Enable anti-aliasing
Hinting: Full
Sub-pixel-order: RGB
DPI: [ ] Custom DPI setting /Code: Select all
root ~ tree /etc/fonts/
/etc/fonts/
├── conf.avail
│ ├── 05-reset-dirs-sample.conf
│ ├── 09-autohint-if-no-hinting.conf
│ ├── 10-autohint.conf
│ ├── 10-hinting-full.conf
│ ├── 10-hinting-medium.conf
│ ├── 10-hinting-none.conf
│ ├── 10-hinting-slight.conf
│ ├── 10-no-antialias.conf
│ ├── 10-powerline-symbols.conf
│ ├── 10-scale-bitmap-fonts.conf
│ ├── 10-sub-pixel-bgr.conf
│ ├── 10-sub-pixel-none.conf
│ ├── 10-sub-pixel-rgb.conf
│ ├── 10-sub-pixel-vbgr.conf
│ ├── 10-sub-pixel-vrgb.conf
│ ├── 10-unhinted.conf
│ ├── 10-yes-antialias.conf
│ ├── 11-lcdfilter-default.conf
│ ├── 11-lcdfilter-legacy.conf
│ ├── 11-lcdfilter-light.conf
│ ├── 11-lcdfilter-none.conf
│ ├── 20-unhint-small-dejavu-sans.conf
│ ├── 20-unhint-small-dejavu-sans-mono.conf
│ ├── 20-unhint-small-dejavu-serif.conf
│ ├── 20-unhint-small-vera.conf
│ ├── 25-unhint-nonlatin.conf
│ ├── 30-metric-aliases.conf
│ ├── 35-lang-normalize.conf
│ ├── 40-nonlatin.conf
│ ├── 42-luxi-mono.conf
│ ├── 45-generic.conf
│ ├── 45-latin.conf
│ ├── 48-spacing.conf
│ ├── 49-sansserif.conf
│ ├── 50-user.conf
│ ├── 51-local.conf
│ ├── 57-dejavu-sans.conf
│ ├── 57-dejavu-sans-mono.conf
│ ├── 57-dejavu-serif.conf
│ ├── 59-google-droid-sans.conf
│ ├── 59-google-droid-sans-mono.conf
│ ├── 59-google-droid-serif.conf
│ ├── 60-generic.conf
│ ├── 60-latin.conf
│ ├── 60-liberation.conf
│ ├── 61-urw-bookman.conf
│ ├── 61-urw-c059.conf
│ ├── 61-urw-d050000l.conf
│ ├── 61-urw-fallback-backwards.conf
│ ├── 61-urw-fallback-generics.conf
│ ├── 61-urw-fallback-specifics.conf
│ ├── 61-urw-gothic.conf
│ ├── 61-urw-nimbus-mono-ps.conf
│ ├── 61-urw-nimbus-roman.conf
│ ├── 61-urw-nimbus-sans.conf
│ ├── 61-urw-p052.conf
│ ├── 61-urw-standard-symbols-ps.conf
│ ├── 61-urw-z003.conf
│ ├── 62-crosextra-caladea.conf
│ ├── 62-crosextra-carlito.conf
│ ├── 65-fonts-persian.conf
│ ├── 65-khmer.conf
│ ├── 65-nonlatin.conf
│ ├── 66-noto-mono.conf
│ ├── 66-noto-sans.conf
│ ├── 66-noto-serif.conf
│ ├── 69-unifont.conf
│ ├── 70-no-bitmaps.conf
│ ├── 70-yes-bitmaps.conf
│ ├── 75-noto-emoji-fallback.conf
│ ├── 75-yes-terminus.conf
│ ├── 80-delicious.conf
│ ├── 90-roboto-regular.conf
│ └── 90-synthetic.conf
├── conf.d
│ ├── 10-sub-pixel-rgb.conf -> ../conf.avail/10-sub-pixel-rgb.conf
│ ├── 10-yes-antialias.conf -> ../conf.avail/10-yes-antialias.conf
│ ├── 11-lcdfilter-default.conf -> ../conf.avail/11-lcdfilter-default.conf
│ ├── 42-luxi-mono.conf -> ../conf.avail/42-luxi-mono.conf
│ ├── 60-liberation.conf -> ../conf.avail/60-liberation.conf
│ ├── disabled
│ │ ├── 10-autohint.conf -> /etc/fonts/conf.avail/10-autohint.conf
│ │ ├── 11-lcdfilter-default.conf -> /etc/fonts/conf.avail/11-lcdfilter-default.conf
│ │ ├── 20-unhint-small-dejavu-sans.conf -> /etc/fonts/conf.avail/20-unhint-small-dejavu-sans.conf
│ │ ├── 20-unhint-small-dejavu-sans-mono.conf -> /etc/fonts/conf.avail/20-unhint-small-dejavu-sans-mono.conf
│ │ ├── 20-unhint-small-dejavu-serif.conf -> /etc/fonts/conf.avail/20-unhint-small-dejavu-serif.conf
│ │ ├── 25-unhint-nonlatin.conf -> /etc/fonts/conf.avail/25-unhint-nonlatin.conf
│ │ ├── 57-dejavu-sans.conf -> /etc/fonts/conf.avail/57-dejavu-sans.conf
│ │ ├── 57-dejavu-sans-mono.conf -> /etc/fonts/conf.avail/57-dejavu-sans-mono.conf
│ │ └── 57-dejavu-serif.conf -> /etc/fonts/conf.avail/57-dejavu-serif.conf
│ ├── disabled.2
│ └── README
├── fonts.conf
└── PowerlineSymbols.otf
5 directories, 91 filesCode: Select all
root ~ eselect fontconfig list
Available fontconfig .conf files (* is enabled):
[1] 05-reset-dirs-sample.conf
[2] 09-autohint-if-no-hinting.conf
[3] 10-autohint.conf
[4] 10-hinting-full.conf
[5] 10-hinting-medium.conf
[6] 10-hinting-none.conf
[7] 10-hinting-slight.conf
[8] 10-no-antialias.conf
[9] 10-powerline-symbols.conf
[10] 10-scale-bitmap-fonts.conf
[11] 10-sub-pixel-bgr.conf
[12] 10-sub-pixel-none.conf
[13] 10-sub-pixel-rgb.conf *
[14] 10-sub-pixel-vbgr.conf
[15] 10-sub-pixel-vrgb.conf
[16] 10-unhinted.conf
[17] 10-yes-antialias.conf *
[18] 11-lcdfilter-default.conf *
[19] 11-lcdfilter-legacy.conf
[20] 11-lcdfilter-light.conf
[21] 11-lcdfilter-none.conf
[22] 20-unhint-small-dejavu-sans.conf
[23] 20-unhint-small-dejavu-sans-mono.conf
[24] 20-unhint-small-dejavu-serif.conf
[25] 20-unhint-small-vera.conf
[26] 25-unhint-nonlatin.conf
[27] 30-metric-aliases.conf
[28] 35-lang-normalize.conf
[29] 40-nonlatin.conf
[30] 42-luxi-mono.conf *
[31] 45-generic.conf
[32] 45-latin.conf
[33] 48-spacing.conf
[34] 49-sansserif.conf
[35] 50-user.conf
[36] 51-local.conf
[37] 57-dejavu-sans.conf
[38] 57-dejavu-sans-mono.conf
[39] 57-dejavu-serif.conf
[40] 59-google-droid-sans.conf
[41] 59-google-droid-sans-mono.conf
[42] 59-google-droid-serif.conf
[43] 60-generic.conf
[44] 60-latin.conf
[45] 60-liberation.conf *
[46] 61-urw-bookman.conf
[47] 61-urw-c059.conf
[48] 61-urw-d050000l.conf
[49] 61-urw-fallback-backwards.conf
[50] 61-urw-fallback-generics.conf
[51] 61-urw-fallback-specifics.conf
[52] 61-urw-gothic.conf
[53] 61-urw-nimbus-mono-ps.conf
[54] 61-urw-nimbus-roman.conf
[55] 61-urw-nimbus-sans.conf
[56] 61-urw-p052.conf
[57] 61-urw-standard-symbols-ps.conf
[58] 61-urw-z003.conf
[59] 62-crosextra-caladea.conf
[60] 62-crosextra-carlito.conf
[61] 65-fonts-persian.conf
[62] 65-khmer.conf
[63] 65-nonlatin.conf
[64] 66-noto-mono.conf
[65] 66-noto-sans.conf
[66] 66-noto-serif.conf
[67] 69-unifont.conf
[68] 70-no-bitmaps.conf
[69] 70-yes-bitmaps.conf
[70] 75-noto-emoji-fallback.conf
[71] 75-yes-terminus.conf
[72] 80-delicious.conf
[73] 90-roboto-regular.conf
[74] 90-synthetic.confCode: Select all
root ~ eselect fontconfig list
Available fontconfig .conf files (* is enabled):
[1] 05-reset-dirs-sample.conf
[2] 09-autohint-if-no-hinting.conf
[3] 10-autohint.conf
[4] 10-hinting-full.conf
[5] 10-hinting-medium.conf
[6] 10-hinting-none.conf
[7] 10-hinting-slight.conf *
[8] 10-no-antialias.conf
[9] 10-powerline-symbols.conf
[10] 10-scale-bitmap-fonts.conf *
[11] 10-sub-pixel-bgr.conf
[12] 10-sub-pixel-none.conf *
[13] 10-sub-pixel-rgb.conf *
[14] 10-sub-pixel-vbgr.conf
[15] 10-sub-pixel-vrgb.conf
[16] 10-unhinted.conf
[17] 10-yes-antialias.conf *
[18] 11-lcdfilter-default.conf *
[19] 11-lcdfilter-legacy.conf
[20] 11-lcdfilter-light.conf
[21] 11-lcdfilter-none.conf
[22] 20-unhint-small-dejavu-sans.conf
[23] 20-unhint-small-dejavu-sans-mono.conf
[24] 20-unhint-small-dejavu-serif.conf
[25] 20-unhint-small-vera.conf *
[26] 25-unhint-nonlatin.conf *
[27] 30-metric-aliases.conf *
[28] 35-lang-normalize.conf
[29] 40-nonlatin.conf *
[30] 42-luxi-mono.conf *
[31] 45-generic.conf *
[32] 45-latin.conf *
[33] 48-spacing.conf *
[34] 49-sansserif.conf *
[35] 50-user.conf *
[36] 51-local.conf *
[37] 57-dejavu-sans.conf
[38] 57-dejavu-sans-mono.conf
[39] 57-dejavu-serif.conf
[40] 59-google-droid-sans.conf
[41] 59-google-droid-sans-mono.conf
[42] 59-google-droid-serif.conf
[43] 60-generic.conf *
[44] 60-latin.conf *
[45] 60-liberation.conf *
[46] 61-urw-bookman.conf
[47] 61-urw-c059.conf
[48] 61-urw-d050000l.conf
[49] 61-urw-fallback-backwards.conf
[50] 61-urw-fallback-generics.conf
[51] 61-urw-fallback-specifics.conf
[52] 61-urw-gothic.conf
[53] 61-urw-nimbus-mono-ps.conf
[54] 61-urw-nimbus-roman.conf
[55] 61-urw-nimbus-sans.conf
[56] 61-urw-p052.conf
[57] 61-urw-standard-symbols-ps.conf
[58] 61-urw-z003.conf
[59] 62-crosextra-caladea.conf
[60] 62-crosextra-carlito.conf
[61] 65-fonts-persian.conf *
[62] 65-khmer.conf
[63] 65-nonlatin.conf *
[64] 66-noto-mono.conf
[65] 66-noto-sans.conf
[66] 66-noto-serif.conf
[67] 69-unifont.conf *
[68] 70-no-bitmaps.conf
[69] 70-yes-bitmaps.conf
[70] 75-noto-emoji-fallback.conf *
[71] 75-yes-terminus.conf
[72] 80-delicious.conf *
[73] 90-roboto-regular.conf
[74] 90-synthetic.conf *
Sorry, i must be misunderstanding what you're asking; there are several general options related to hinting, and not to replacement fonts, at the top of the list you quoted. Could you please clarify?Massimo B. wrote:What I understood so far, all these settings only define which replacement fonts are taken and don't affect the hinting? But I remember old fontconfig-ultimate was affecting hinting somehow…Code: Select all
root ~ eselect fontconfig list Available fontconfig .conf files (* is enabled): [1] 05-reset-dirs-sample.conf [2] 09-autohint-if-no-hinting.conf [3] 10-autohint.conf [4] 10-hinting-full.conf [5] 10-hinting-medium.conf [6] 10-hinting-none.conf [7] 10-hinting-slight.conf * [8] 10-no-antialias.conf [9] 10-powerline-symbols.conf [10] 10-scale-bitmap-fonts.conf * [11] 10-sub-pixel-bgr.conf [12] 10-sub-pixel-none.conf * [13] 10-sub-pixel-rgb.conf * [14] 10-sub-pixel-vbgr.conf [15] 10-sub-pixel-vrgb.conf [16] 10-unhinted.conf [17] 10-yes-antialias.conf * [18] 11-lcdfilter-default.conf * [19] 11-lcdfilter-legacy.conf [20] 11-lcdfilter-light.conf [21] 11-lcdfilter-none.conf [22] 20-unhint-small-dejavu-sans.conf [23] 20-unhint-small-dejavu-sans-mono.conf [24] 20-unhint-small-dejavu-serif.conf [25] 20-unhint-small-vera.conf * [26] 25-unhint-nonlatin.conf * [27] 30-metric-aliases.conf * [28] 35-lang-normalize.conf [29] 40-nonlatin.conf * [30] 42-luxi-mono.conf * [31] 45-generic.conf * [32] 45-latin.conf * [33] 48-spacing.conf * [34] 49-sansserif.conf * [35] 50-user.conf * [36] 51-local.conf * [37] 57-dejavu-sans.conf [38] 57-dejavu-sans-mono.conf [39] 57-dejavu-serif.conf [40] 59-google-droid-sans.conf [41] 59-google-droid-sans-mono.conf [42] 59-google-droid-serif.conf [43] 60-generic.conf * [44] 60-latin.conf * [45] 60-liberation.conf * [46] 61-urw-bookman.conf [47] 61-urw-c059.conf [48] 61-urw-d050000l.conf [49] 61-urw-fallback-backwards.conf [50] 61-urw-fallback-generics.conf [51] 61-urw-fallback-specifics.conf [52] 61-urw-gothic.conf [53] 61-urw-nimbus-mono-ps.conf [54] 61-urw-nimbus-roman.conf [55] 61-urw-nimbus-sans.conf [56] 61-urw-p052.conf [57] 61-urw-standard-symbols-ps.conf [58] 61-urw-z003.conf [59] 62-crosextra-caladea.conf [60] 62-crosextra-carlito.conf [61] 65-fonts-persian.conf * [62] 65-khmer.conf [63] 65-nonlatin.conf * [64] 66-noto-mono.conf [65] 66-noto-sans.conf [66] 66-noto-serif.conf [67] 69-unifont.conf * [68] 70-no-bitmaps.conf [69] 70-yes-bitmaps.conf [70] 75-noto-emoji-fallback.conf * [71] 75-yes-terminus.conf [72] 80-delicious.conf * [73] 90-roboto-regular.conf [74] 90-synthetic.conf *

Code: Select all
./conf.avail/25-unhint-nonlatin.conf: <edit name="hinting" mode="assign">
Code: Select all
ls -l /etc/fonts/conf.d/
total 88K
lrwxrwxrwx 1 root root 36 20. Mär 20:41 10-hinting-slight.conf -> ../conf.avail/10-hinting-slight.conf
lrwxrwxrwx 1 root root 40 20. Mär 20:41 10-scale-bitmap-fonts.conf -> ../conf.avail/10-scale-bitmap-fonts.conf
lrwxrwxrwx 1 root root 36 20. Mär 20:41 10-sub-pixel-none.conf -> ../conf.avail/10-sub-pixel-none.conf
lrwxrwxrwx 1 root root 35 20. Mär 20:41 10-yes-antialias.conf -> ../conf.avail/10-yes-antialias.conf
lrwxrwxrwx 1 root root 39 20. Mär 20:41 11-lcdfilter-default.conf -> ../conf.avail/11-lcdfilter-default.conf
lrwxrwxrwx 1 root root 39 20. Mär 20:41 20-unhint-small-vera.conf -> ../conf.avail/20-unhint-small-vera.conf
lrwxrwxrwx 1 root root 36 20. Mär 20:41 30-metric-aliases.conf -> ../conf.avail/30-metric-aliases.conf
lrwxrwxrwx 1 root root 30 20. Mär 20:41 40-nonlatin.conf -> ../conf.avail/40-nonlatin.conf
lrwxrwxrwx 1 root root 29 20. Mär 20:41 45-generic.conf -> ../conf.avail/45-generic.conf
lrwxrwxrwx 1 root root 27 20. Mär 20:41 45-latin.conf -> ../conf.avail/45-latin.conf
lrwxrwxrwx 1 root root 29 20. Mär 20:41 48-spacing.conf -> ../conf.avail/48-spacing.conf
lrwxrwxrwx 1 root root 31 20. Mär 20:41 49-sansserif.conf -> ../conf.avail/49-sansserif.conf
lrwxrwxrwx 1 root root 26 20. Mär 20:41 50-user.conf -> ../conf.avail/50-user.conf
lrwxrwxrwx 1 root root 27 20. Mär 20:41 51-local.conf -> ../conf.avail/51-local.conf
lrwxrwxrwx 1 root root 29 20. Mär 20:41 60-generic.conf -> ../conf.avail/60-generic.conf
lrwxrwxrwx 1 root root 27 20. Mär 20:41 60-latin.conf -> ../conf.avail/60-latin.conf
lrwxrwxrwx 1 root root 35 20. Mär 20:41 65-fonts-persian.conf -> ../conf.avail/65-fonts-persian.conf
lrwxrwxrwx 1 root root 30 20. Mär 20:41 65-nonlatin.conf -> ../conf.avail/65-nonlatin.conf
lrwxrwxrwx 1 root root 29 20. Mär 20:41 69-unifont.conf -> ../conf.avail/69-unifont.conf
lrwxrwxrwx 1 root root 31 20. Mär 20:41 80-delicious.conf -> ../conf.avail/80-delicious.conf
lrwxrwxrwx 1 root root 31 20. Mär 20:41 90-synthetic.conf -> ../conf.avail/90-synthetic.conf
-rw-r--r-- 1 root root 968 20. Mär 20:41 README
Code: Select all
[65] 66-noto-sans.conf *