[Fontconfig] conf.d and fake embolding / italics

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

 



Michael A. Peters wrote:
> The problem is that fake bold and italic are turned on in
> the /etc/fonts/fonts.conf file - and can not be turned off (as far as I
> can tell) without modifying that file. Since that file is not suppose to
> modified, there basically is not a proper way to disable them if you
> don't want them.

I don't have anything against creating 
/etc/fonts/conf.d/artificial-embolden.conf.  However, it seems that the 
system administrator can simply create the following 
/etc/fonts/local.conf file:

         <match target="font">
                 <!-- check to see if the font is just regular -->
                 <test name="weight" compare="less_eq">
                         <int>100</int>
                 </test>
                 <!-- check to see if the pattern requests bold -->
                 <test target="pattern" name="weight" compare="more_eq">
                         <int>200</int>
                 </test>
                 <!-- set the embolden flag -->
                 <edit name="embolden" mode="assign">
                         <bool>false</bool>
                 </edit>
         </match>

and similarly for italics.

pat


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux