Шрифт в gnome-panel и Firefox

[[email protected] ~]$ cat .fonts.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
    <match target="font">
        <edit name="antialias" mode="assign"><bool>true</bool></edit>
        <edit name="autohint" mode="assign"><bool>false</bool></edit>
        <edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
        <edit name="hinting" mode="assign"><bool>true</bool></edit>
        <edit name="rgba" mode="assign"><const>rgb</const></edit>
	<!-- lcdnone, lcddefault, lcdlight, lcdlegacy -->
	<edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
    </match>
    <match target="font">
	<test name="size" compare="less_eq"><double>8</double></test>
        <edit name="autohint" mode="assign"><bool>true</bool></edit>
    </match>
    <match target="font">
	<test name="size" compare="more_eq"><double>14</double></test>
	<edit name="rgba" mode="assign"><const>none</const></edit>
    </match>
    <match target="font">
        <test name="family"><string>Tahoma</string></test>
        <test name="size" compare="eq"><double>6</double></test>
        <test name="weight" compare="more_eq"><const>medium</const></test>
        <edit name="autohint" mode="assign"><bool>true</bool></edit>
    </match>
    <!-- Replace Clean font with sans-serif -->
    <match target="pattern" name="family" >
        <test name="family" qual="any" >
            <string>Clean</string>
        </test>
        <edit mode="assign" name="family" >
            <string>sans-serif</string>
        </edit>
    </match>
    <!-- Replace Fixed font with monospace -->
    <match target="pattern" name="family" >
        <test name="family" qual="any" >
            <string>Fixed</string>
        </test>
        <edit mode="assign" name="family" >
            <string>monospace</string>
        </edit>
    </match>
    <!-- Replace Nimbus family font with default -->
    <match target="pattern" name="family" >
        <test name="family" qual="any" >
            <string>Nimbus Sans L</string>
        </test>
        <edit mode="assign" name="family" >
            <string>sans-serif</string>
        </edit>
    </match>
    <match target="pattern" name="family" >
        <test name="family" qual="any" >
            <string>helvetica</string>
        </test>
        <edit mode="assign" name="family" >
            <string>Droid Sans</string>
        </edit>
    </match>
    <match target="pattern" name="family" >
        <test name="family" qual="any" >
            <string>Nimbus Roman No9 L</string>
        </test>
        <edit mode="assign" name="family" >
            <string>serif</string>
        </edit>
    </match>
    <match target="pattern" name="family" >
        <test name="family" qual="any" >
            <string>Nimbus Mono L</string>
        </test>
        <edit mode="assign" name="family" >
            <string>monospace</string>
        </edit>
    </match>
    <match target="pattern">
		<test qual="any" name="family">
			<string>Times</string>
		</test>
		<edit name="family" mode="assign">
			<string>Times New Roman</string>
		</edit>
	</match>
    <!-- Set default font -->
    <alias>
        <family>Droid Serif</family>
        <default><family>serif</family></default>
    </alias>
    <alias>
        <family>Droid Sans</family>
        <default><family>sans-serif</family></default>
    </alias>
    <alias>
        <family>Liberation Mono</family>
        <default><family>monospace</family></default>
    </alias>
    <alias>
        <family>serif</family>
        <prefer><family>Droid Serif</family></prefer>
    </alias>
    <alias>
        <family>sans-serif</family>
        <prefer><family>Droid Sans</family></prefer>
    </alias>
    <alias>
        <family>monospace</family>
        <prefer><family>Liberation Mono</family></prefer>
    </alias>
</fontconfig>
1. $ sudo pacman -Rs xorg-fonts-75dpi xorg-fonts-100dpi
2. $ yaourt -S ttf-droid
3. замени:
Snegovikufa
    <!-- Replace Clean font with sans-serif -->
    <match target="pattern" name="family" >
        <test name="family" qual="any" >
            <string>Clean</string>
        </test>
        <edit mode="assign" name="family" >
            <string>sans-serif</string>
        </edit>
    </match>
    <!-- Replace Fixed font with monospace -->
    <match target="pattern" name="family" >
        <test name="family" qual="any" >
            <string>Fixed</string>
        </test>
        <edit mode="assign" name="family" >
            <string>monospace</string>
        </edit>
    </match>
    <!-- Replace Nimbus family font with default -->
    <match target="pattern" name="family" >
        <test name="family" qual="any" >
            <string>Nimbus Sans L</string>
        </test>
        <edit mode="assign" name="family" >
            <string>sans-serif</string>
        </edit>
    </match>
    <match target="pattern" name="family" >
        <test name="family" qual="any" >
            <string>helvetica</string>
        </test>
        <edit mode="assign" name="family" >
            <string>Droid Sans</string>
        </edit>
    </match>
    <match target="pattern" name="family" >
        <test name="family" qual="any" >
            <string>Nimbus Roman No9 L</string>
        </test>
        <edit mode="assign" name="family" >
            <string>serif</string>
        </edit>
    </match>
    <match target="pattern" name="family" >
        <test name="family" qual="any" >
            <string>Nimbus Mono L</string>
        </test>
        <edit mode="assign" name="family" >
            <string>monospace</string>
        </edit>
    </match>
    <match target="pattern">
		<test qual="any" name="family">
			<string>Times</string>
		</test>
		<edit name="family" mode="assign">
			<string>Times New Roman</string>
		</edit>
	</match>
    <!-- Set default font -->
    <alias>
        <family>Droid Serif</family>
        <default><family>serif</family></default>
    </alias>
    <alias>
        <family>Droid Sans</family>
        <default><family>sans-serif</family></default>
    </alias>
    <alias>
        <family>Liberation Mono</family>
        <default><family>monospace</family></default>
    </alias>
    <alias>
        <family>serif</family>
        <prefer><family>Droid Serif</family></prefer>
    </alias>
    <alias>
        <family>sans-serif</family>
        <prefer><family>Droid Sans</family></prefer>
    </alias>
    <alias>
        <family>monospace</family>
        <prefer><family>Liberation Mono</family></prefer>
    </alias>
на
	<match target="pattern" name="family">
		<test name="family" qual="any"><string>Clean</string></test>
		<edit mode="assign" name="family"><string>sans-serif</string></edit>
	</match>
	<match target="pattern" name="family">
		<test name="family" qual="any"><string>Fixed</string></test>
		<edit mode="assign" name="family"><string>monospace</string></edit>
	</match>
	<match target="pattern" name="family">
		<test name="family" qual="any"><string>Nimbus Sans L</string></test>
		<edit mode="assign" name="family"><string>sans-serif</string></edit>
	</match>
	<match target="pattern" name="family">
		<test name="family" qual="any"><string>Nimbus Roman No9 L</string></test>
		<edit mode="assign" name="family"><string>serif</string></edit>
	</match>
	<match target="pattern" name="family">
		<test name="family" qual="any"><string>Nimbus Mono L</string></test>
		<edit mode="assign" name="family"><string>monospace</string></edit>
	</match>
	<alias>
		<family>Droid Serif</family>
		<default><family>serif</family></default>
	</alias>
	<alias>
		<family>Droid Sans</family>
		<default><family>sans-serif</family></default>
	</alias>
	<alias>
		<family>Liberation Mono</family>
		<default><family>monospace</family></default>
	</alias>
	<alias>
		<family>serif</family>
		<prefer><family>Droid Serif</family></prefer>
	</alias>
	<alias>
		<family>sans-serif</family>
		<prefer><family>Droid Sans</family></prefer>
	</alias>
	<alias>
		<family>monospace</family>
		<prefer><family>Liberation Mono</family></prefer>
	</alias>
4. найди 10 отличий :)
Ладно, вроде получилось :)
 
Зарегистрироваться или войдите чтобы оставить сообщение.