Summary: | media-libs/fontconfig - 50-user.conf should be 99-zzz-user.conf so it is initialised last | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Udvare <audvare> |
Component: | [OLD] Library | Assignee: | Ben de Groot (RETIRED) <yngwin> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | achurch+gentoo, fonts, multilib+disabled |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andrew Udvare
2014-11-24 00:26:28 UTC
This is by design. If you want local overriding configurations, you need to place them in /etc/fonts/local.conf while 50-user.conf is not meant to be edited and will be overwritten on fontconfig updates. (In reply to Ben de Groot from comment #1) > This is by design. If you want local overriding configurations, you need to > place them in /etc/fonts/local.conf while 50-user.conf is not meant to be > edited and will be overwritten on fontconfig updates. I think this misses the point -- the reporter's issue appears to be that _per-user_ configurations (which are loaded by 50-user.conf) will be overwritten by global configuration files whose names are lexically later than 50-user.conf. While it's easy enough to work around, by copying 50-user.conf into local.conf and disabling 50-user.conf with eselect, I think the expected behavior is that all per-user settings override all global settings (whether those global settings are from the distribution or in local.conf), and that's not what happens now. Ben de Groot, I do not edit 50-user.conf at all. I just rely on the directories that are mentioned in there, in particular $HOME/.config/fontconfig/fonts.conf (so it is user-specific). 51-local.conf mentions local.conf (/etc/fonts/local.conf), but I am interested only in user-specific settings. Referencing man fonts-conf, I am not sure what is the best way besides my workaround to ensure user configuration is load it: /etc/fonts/fonts.conf /etc/fonts/fonts.dtd /etc/fonts/conf.d $XDG_CONFIG_HOME/fontconfig/conf.d $XDG_CONFIG_HOME/fontconfig/fonts.conf ~/.fonts.conf.d ~/.fonts.conf I know the last 2 are deprecated, but is this the actual order that files get read? I will have to do more testing. |