FS#45983 - [fontconfig] preserve configuration during upgrade
Attached to Project:
Arch Linux
Opened by Roman Kosenko (kite) - Friday, 14 August 2015, 10:42 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 10 November 2015, 13:45 GMT
Opened by Roman Kosenko (kite) - Friday, 14 August 2015, 10:42 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 10 November 2015, 13:45 GMT
|
Details
Description:
If somebody made changes in /etc/fonts/conf.d/ (for example, remove some symlinks to /etc/fonts/cong.avail/ - this is normal way of configuration fontconfig) it will be overwritten by upgrade. I think it's better to put these symlinks in post-install script and don't put symlinks on post-upgrade (put new symlink only for new config appears first in this version of fontconfig). Additional info: $ pacman -Q fontconfig fontconfig 2.11.1-2 Steps to reproduce: # rm /etc/fonts/conf.d/20-unhint-small-vera.conf # pacman -S fontconfig # ls -l /etc/fonts/conf.d/20-unhint-small-vera.conf |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Tuesday, 10 November 2015, 13:45 GMT
Reason for closing: Won't fix
Tuesday, 10 November 2015, 13:45 GMT
Reason for closing: Won't fix
https://wiki.archlinux.org/index.php/Font_configuration#Fontconfig_configuration
it can be a workaround for your problem, put the symlinks you want in your ~/fontconfig/conf.d/, like the wiki said "The settings in the per-user configuration have precedence over the global configuration. Both these files use the same syntax."
P.S. And, of course, I want to do this globally in order to, for example, have proper font anti-aliasing on login screen.
I suggest to go the somewhat ugly way and apply your reverting changes to custom systemwide or user specific conf files.