Re: Bug#559592: fontconfig: fontconfig and fonts in texmf trees
ping ...
actually not much action is asked for now ... only a simple
yes good idea, I will do that at some point
or
no, bad idea, please do it that way
or
so what, I don't care ...
Thanks.
On So, 06 Dez 2009, Norbert Preining wrote:
> Package: fontconfig
> Version: 2.6.0-4
> Severity: wishlist
>
> Hi Keith,
>
> I found that fontconfig already shows interest in /usr/share/texmf/fonts
> (triggers file). Now the biggest part of the TeX system is shipped since
> TeX Live 2005 in /usr/share/texmf-texlive/fonts.
>
> Checking a bit what is shipped I see that although fontconfig shows
> interest in /usr/share/texmf/fonts, it does not have it listed in any
> of the /etc/fonts/conf.avail files (is that intended? Why show interest
> without adding that path to the config?)
>
> The only reference to /usr/share/texmf I found is in the
> conf.d/30-defoma.conf
> because we ship tex-gyre and lmodern with defoma.
>
> Furthermore, I am not sure if it is ok to interest in all of
> /u/s/texmf*/fonts, because there are loads of .pk fonts fontconfig
> will never use (AFAIR), and in addition other files like map files,
> .vf files, metafont source files, in short, many many files fontconfig
> doesn't want to deal with.
>
> Then there is another problem with type1 fonts in texmf trees. AFAIR type1
> fonts need to be accompanying by an .afm file in the same directory,
> right? The problem here is that the TDS (TeX Directory Standard) requires
> that the afm files are in
> ..../TEXMFTREE/fonts/afm/....
> So already now, with the triggers for /usr/share/texmf/fonts some
> fonts might be ignored (all type1 fonts).
>
> So I would like to propose the following:
> - change the triggers to
> /usr/share/texmf/fonts/opentype
> /usr/share/texmf/fonts/truetype
> /usr/share/texmf-texlive/fonts/opentype
> /usr/share/texmf-texlive/fonts/truetype
> that would make sure that all the fonts available and ready for
> fontconfig are accessible. Type1 fonts aren't, but without major
> restructuring we cannot change that now, as the afms are in a
> different place.
>
> - either you or we ship a conf.avail/conf.d file adding the above
> four paths to the fonts.conf file.
> My initial idea would be that fontconfig is shipping them, since
> it also declares interest for these directories, but I leave that
> decision of course to you.
>
> If you have any other suggestions, please let me know.
Best wishes
Norbert
------------------------------------------------------------------------
Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TU Wien, Austria Debian TeX Task Force
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
LOSSIEMOUTH (n.)
One of those middle-aged ladies with just a hint of a luxuriant
handlebar moustache.
--- Douglas Adams, The Meaning of Liff
Reply to: