FS#32486 - [ttf-freefont, ttf-linux-libertine] add fontconfig files

Attached to Project: Arch Linux
Opened by Greg (dolby) - Tuesday, 06 November 2012, 03:56 GMT
Last edited by Gaetan Bisson (vesath) - Sunday, 18 November 2012, 07:02 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No
This task depends upon

Closed by  Gaetan Bisson (vesath)
Sunday, 18 November 2012, 07:02 GMT
Reason for closing:  Implemented
Comment by Gaetan Bisson (vesath) - Wednesday, 14 November 2012, 02:39 GMT
I'm not sure what the best approach is here: fontconfig already provides /etc/fonts/conf.avail/40-nonlatin.conf and /etc/fonts/conf.avail/69-unifont.conf which mention the Free* fonts. But these templates are a little rubbish, maybe the best things would be to get rid of them.

Perhaps we could have ttf-freefont (and all tff-* packages for that matter) provide one conf.avail file each (for ttf-freefont, it would be pretty similar to 69-unifont.conf), but I don't like the idea of splitting conf.avail files further as Fedora does (one for sans, serif, and mono): users should want to use fonts consistently, not pick one sans and a completely different serif...

Comments?
Comment by Greg (dolby) - Wednesday, 14 November 2012, 03:17 GMT
I am not overly familiar with fontconfig rules but what you write above sounds logical.
Looking at the spec file, i dont think Fedora modifies the conf files provided by fontconfig:
http://pkgs.fedoraproject.org/cgit/fontconfig.git/tree/
filelist of the fedora 17 version:
http://pkgs.org/fedora-17/fedora-updates-i386/fontconfig-2.8.0-8.fc17.i686.rpm.html
which includes both 40-nonlatin.conf and 69-unifont.conf
Comment by Gaetan Bisson (vesath) - Sunday, 18 November 2012, 07:02 GMT
I've added a conf.avail file to ttf-freefont in SVN; it will be added to the next rebuild and this gives us time to get comments on this.
I haven't added one to ttf-linux-libertine because all I could find the Fedora ones achieve are silly things like using it as substitute for Times New Roman - all we can possibly do here is give the users simple template files they can link to from conf.d if they want to enable the font as their default mono/sans/serif.

Loading...