I'm discussing this with keithp at the moment. He indicates that the order of the files is not significant but I'm asking him for more information on how that could be true, and if it is, how ~/.fonts.conf is truly authoritative.
Arne Goetje wrote: >>From /etc/fonts/conf.avail/README: > > The files are loaded in numeric order, the structure of the > configuration > has led to the following conventions in usage: > > Files begining with: Contain: > > 00 through 09 Font directories > 10 through 19 system rendering defaults (AA, etc) > 20 through 29 font rendering options > 30 through 39 family substitution > 40 through 49 generic identification, map family->generic > 50 through 59 alternate config file loading > 60 through 69 generic aliases, map generic->family > 70 through 79 select font (adjust which fonts are available) > 80 through 89 match target="scan" (modify scanned patterns) > 90 through 99 font synthesis > > While I agree with you that the range 50~59 should probably be 90~99, I > think this issue should be taken to upstream. > Can you please file a bug to upstream and link it here? > > Thanks > > -- > user's ~/.fonts.conf should be made authoritative > https://bugs.launchpad.net/bugs/200713 > You received this bug notification because you are a direct subscriber > of the bug. > > Status in Source Package "fontconfig" in Ubuntu: New > > Bug description: > Binary package hint: fontconfig > > Two issues in fontconfig 50-user.conf and 51-local.conf. > In /etc/fonts/conf.d there is a file named "50-user.conf" that loads the > user's own ~/.fonts.conf file. > There is also 51-local.conf that is supposed to load local configuration > elements. > > The directives in these two files are overridden by up to 14 more > root-owned imutable configuration files, most of which are > user-impacting, therefore the user as well as the site adminsitrator are > both left without the ability to make some important font choices. > > The /etc/fonts/conf.d/50-user.conf and > /etc/fonts/conf.avail/50-user.conf should be moved to the last possible > location, such as 98-user.conf and 99-user.conf so the user and the site > administrator both have the opportunity to override any configuration > element in fontconfig without becoming "root" and adjusting > /etc/fonts/conf.d directly. > > I have tested this to be true in Ubuntu 7.10 gutsy. > > This also serious affects KDE which uses ~/.fonts.conf exclusively for > font configuration (GNOME uses gconf instead and the problems are > somewhat avoidable in GNOME). > > -- user's ~/.fonts.conf should be made authoritative https://bugs.launchpad.net/bugs/200713 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs