[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: remove liberation-font



andrey i. mavlyanov wrote:


How can I remove liberation-fonts package from my f9 system? I was trying to do it with yumex, but it wants to remove OO.org either, which is not acceptable at all for me...


Finally I have time to look at this problem deeply and found that there are some changes since previous Fedora releases in the /etc/fonts/conf.d/ schema.

/me found the 30-metric-aliases.conf file and do some tricks in local.conf to override the settings presented in this file, so now I have pretty font setup which suite my needs.

Thanks all of you spent time answering my mail!

p.s. my local.conf attached.

--
 /aim [ http://aim.pp.ru/ ]

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

<!-- Map specifics to generics -->

	<!-- PostScript -->
        <alias binding="same">
	  <family>Arial</family>
	  <default>
	  <family>Helvetica</family>
	  </default>
	</alias>

        <alias binding="same">
	  <family>Times New Roman</family>
	  <default>
	  <family>Times</family>
	  </default>
	</alias>

        <alias binding="same">
	  <family>Courier New</family>
	  <default>
	  <family>Courier</family>
	  </default>
	</alias>


	<!-- Microsoft -->
        <alias binding="same">
          <family>Liberation Sans</family>
	  <family>Albany</family>
	  <family>Albany AMT</family>
	  <default>
	  <family>Arial</family>
	  </default>
	</alias>

        <alias binding="same">
          <family>Liberation Serif</family>
	  <family>Thorndale</family>
	  <family>Thorndale AMT</family>
	  <default>
	  <family>Times New Roman</family>
	  </default>
	</alias>

        <alias binding="same">
          <family>Liberation Mono</family>
	  <family>Cumberland</family>
	  <family>Cumberland AMT</family>
	  <default>
	  <family>Courier New</family>
	  </default>
	</alias>



<!-- Accept the other group as fallback -->


	<!-- PostScript -->
        <alias>
	  <family>Helvetica</family>
	  <default>
	  <family>Arial</family>
	  </default>
	</alias>

        <alias>
	  <family>Times</family>
	  <default>
	  <family>Times New Roman</family>
	  </default>
	</alias>

        <alias>
	  <family>Courier</family>
	  <default>
	  <family>Courier New</family>
	  </default>
	</alias>


	<!-- Microsoft -->
        <alias>
	  <family>Arial</family>
	  <default>
	  <family>Helvetica</family>
	  </default>
	</alias>

        <alias>
	  <family>Times New Roman</family>
	  <default>
	  <family>Times</family>
	  </default>
	</alias>

        <alias>
	  <family>Courier New</family>
	  <default>
	  <family>Courier</family>
	  </default>
	</alias>



<!-- Map generics to specifics -->


	<!-- PostScript -->
        <alias binding="same">
	  <family>Helvetica</family>
	  <accept>
	  <family>Arial</family>
	  </accept>
	</alias>

        <alias binding="same">
	  <family>Times</family>
	  <accept>
	  <family>Times New Roman</family>
	  </accept>
	</alias>

        <alias binding="same">
	  <family>Courier</family>
	  <accept>
	  <family>Courier New</family>
	  </accept>
	</alias>


	<!-- Microsoft -->
        <alias binding="same">
	  <family>Arial</family>
	  <accept>
          <family>Liberation Sans</family>
	  <family>Albany</family>
	  <family>Albany AMT</family>
	  </accept>
	</alias>

        <alias binding="same">
	  <family>Times New Roman</family>
	  <accept>
          <family>Liberation Serif</family>
	  <family>Thorndale</family>
	  <family>Thorndale AMT</family>
	  </accept>
	</alias>

        <alias binding="same">
	  <family>Courier New</family>
	  <accept>
          <family>Liberation Mono</family>
	  <family>Cumberland</family>
	  <family>Cumberland AMT</family>
	  </accept>
	</alias>

	<alias>
		<family>Arial</family>
		<accept>
			<family>Arial</family>
		</accept>
	</alias>
        <alias>
                <family>Times</family>
                <accept>
                        <family>Times New Roman</family>
                </accept>
        </alias>
        <alias>
                <family>Courier</family>
                <accept>
                        <family>Courier New</family>
                </accept>
        </alias>
<!-- Prefer -->
        <alias>
                <family>serif</family>
                <prefer>
                        <family>Times New Roman</family>
                </prefer>
        </alias>
        <alias>
                <family>sans-serif</family>
                <prefer>
                        <family>Arial</family>
                </prefer>
        </alias>
        <alias>
                <family>monospace</family>
                <prefer>
                        <family>Courier New</family>
                </prefer>
        </alias>
        <alias>
                <family>Fixed</family>
                <prefer>
                        <family>Courier New</family>
                </prefer>
        </alias>
 <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>hintfull</const>
  </edit>
 </match>
 <match target="font" >
  <edit mode="assign" name="antialias" >
   <bool>true</bool>
  </edit>
 </match>

</fontconfig>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]