[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#412242: tetex-bin: mktexpk places some fonts in the current directory



user debian-tex-maint@lists.debian.org
retitle 412242 fonts generated upon format creation are placed in TEXMFSYSVAR
clone 412242 -1
reassign -1 texlive-base-bin
usertags 412242 cloned-in-texlive
thanks


Sergei Ivanov <svivanov@pdmi.ras.ru> wrote:

> On Sunday 25 February 2007 17:12, Frank Küster wrote:
>> /var/lib/texmf/fonts is and never was supposed to contain pk fonts, if I
>> remember correctly.
>>
>> So maybe we should rather find out how these fonts got there.  If it is
>> something that might have happened to more users, we may need to cater
>> for it, if it's just a special case on your system, maybe not.
>
> They are placed there by fmtutil-sys. To reproduce:
> - uncomment the "cyrtex" line in /etc/texmf/fmt.d/01tetex.cnf
> - run "fmtutil-sys --cnffile /etc/texmf/fmt.d/01tetex.cnf --all"
> (everything as root).
>
> This creates a bunch of .tfm and 600 DPI .pk fonts  in /var/lib/texmf/fonts.
> Then when a non-root user needs these .pk fonts at another resolution,
> they are created in the current directory.

Yes, I can reproduce this, and it still happens in texlive 2005.  I
don't know about 2007 yet, but I fear it hasn't changed.  

I didn't have time to look at the details, but from memory the rules for
font creation are like this:

- put them in TEXMFVAR, i.e. ~/.texmf-var/, if possible

- put them into /tmp/texfonts as a fallback

Now fmtutil-sys should not create the fonts in ~root/.texmf-var,
naturally, and the question is: If fmtutil would put the fonts in the
fallback, /tmp/texfonts, where they are erased upon reboot, would that
cause any problems?  

I guess not, since either the information is included in the format
dump, or it can be recreated by a user who runs the format.

Regards, Frank
-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Reply to: