[Pkg-fonts-devel] TeX fonts (Re: Cancelling the pkg-fonts talk...)
thep at linux.thai.net
Sun Aug 21 06:00:05 UTC 2011
Sorry, I've just seen this message today.
On Fri, Jul 29, 2011 at 12:20 AM, Paul Wise <pabs at debian.org> wrote:
> On Thu, Jul 28, 2011 at 8:07 AM, Theppitak Karoonboonyanan wrote:
>> I wonder if there's a good idea to handle the difference between
>> TeX font system and fontconfig, to properly get rid of the
>> "W:duplicate-font-file" lintian warning.
> Can you explain a bit more? I'm not sure what you mean.
As TeX has its own font system separated from fontconfig (except
for XeTeX), when one wants to use a desktop font in TeX, it must
be installed under TeX FHS, plus additional info like TFM, VF and
Thus, the fonts are duplicated in two packages, the desktop font
package and TeX package, and lintian complains about this.
To be a self-contained package distributed in CTAN (from which
Windows users also use for installation), TeX source package
has to provide the fonts with it, which may be a different version
(thus possibly with different metrics) from what currently shipped
One possibility is to replace the non-TeX part with symlinks to
the desktop font package, add the dependency, and ensure that
the font versions are in sync.
Kenru Chen said in the BOF that this could be achieved with
defoma, or we could rip the font data part (PS/TTF) from TeX
completely and install it in ghostscript for renderers like xdvi,
dvips, etc. instead. But I haven't checked if this could actually
be done. I'm not sure about pdftex, for example.
The defoma option in case the split is impossible or impractical
might be an argument against its removal.
..Or we may just ignore lintian..
More information about the Pkg-fonts-devel