FS#31440 - [fontconfig] autohint broken

Attached to Project: Arch Linux
Opened by Cedric Bellegarde (gnumdk) - Thursday, 06 September 2012, 16:10 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 07 September 2012, 06:17 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Since last version, adding 10-autohint.conf seems do not work anymore.

Steps to reproduce:

[root@arch ~]# cd /etc/fonts/conf.d
[root@arch conf.d]# ln -s ../conf.avail/10-autohint.conf
[root@arch conf.d]#

Nothing happen after this.

I try to replace:
<edit name="autohint" mode="append"><bool>true</bool></edit>
with:
<edit name="autohint" mode="assign"><bool>true</bool></edit>

with no success

I try to copy /etc/fonts dir from a working system with no success

Seems to be in fontconfig package.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 07 September 2012, 06:17 GMT
Reason for closing:  Not a bug
Comment by Cedric Bellegarde (gnumdk) - Thursday, 06 September 2012, 18:18 GMT
You may need to look at this:
<edit name="autohint" mode="assign"><bool>true</bool></edit>

I think this enable autohint, but with last fontconfig version, it's less noticeable (and better looking)

Don't know why they change this:

«This configuration is available on the major desktop environments.
We shouldn't overwrite it with "assign" unconditionally.
Most clients may picks up the first value only. so using "append"
may simply works to avoid it.»

But on KDE, it's not working.
Comment by Hugo Osvaldo Barrera (hobarrera) - Thursday, 06 September 2012, 20:22 GMT
Indeed, adding
<edit name="autohint" mode="assign"><bool>true</bool></edit>
to my existing ~/.config/fontconfig/fonts.conf fixed the issue in my case.

I think that this is an unexpected change in defaults rather than a bug (and the information in this bug report will help anybody encountering this issue).

Loading...