Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 342695

Summary: dev-texlive/texlive-xetex-2010 should install fontconfig 09-texlive.conf
Product: Gentoo Linux Reporter: dynamotwain
Component: New packagesAssignee: TeX project <tex>
Status: RESOLVED FIXED    
Severity: normal CC: sven.koehler
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://tug.org/texlive/doc/texlive-en/texlive-en.html#xetexfontconfig
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fontconfig configuration file for TeXLive fonts
texlive-xetex-2010-r1.ebuild.patch

Description dynamotwain 2010-10-26 05:03:45 UTC
TeXLive 2010 includes Type1, TrueType, and OpenType versions of classic TeX fonts such that XeTeX can access these classic fonts through fontconfig/freetype.

Per TeXLive documentation, a file will be generated at TEXMFSYSVAR/fonts/conf/texlive-fontconfig.conf that should be copied into /etc/fonts/conf.d, but since Gentoo is not using tlpkg, this file is not generated.

The file in question is generated by /tlpkg/tlpostcode/xetex.pl. It depends on TeXLive perl classes not installed in Gentoo, but given that Portage always installs TeXLive into the same directory, the script can be skipped in favor of a pre-generated file installed in /etc/fonts/conf.avail for `eselect fontconfig' usage.
Comment 1 dynamotwain 2010-10-26 05:05:42 UTC
Created attachment 251983 [details]
fontconfig configuration file for TeXLive fonts

This file contains the exact list of directories generated by tlpkg/tlpostcode/xetex.pl: opentype, truetype, and type1.
Comment 2 dynamotwain 2010-10-26 05:07:08 UTC
Created attachment 251985 [details, diff]
texlive-xetex-2010-r1.ebuild.patch

patched ebuild to install fontconfig file using font.eclass
Comment 3 Alexis Ballier gentoo-dev 2010-10-30 18:22:04 UTC
added, thanks