Bug#72630: tetex-bin: mkfontdesc fails on Debian [FIX]
C.M. Connelly writes:
>
>
> Package: tetex-bin
> Version: 1.0.7+20000807
> Severity: normal
>
> mkfontdesc doesn't work on Debian because PK fonts are kept in
> /var/spool/texmf/pk:
>
> diziet# mkfontdesc
> Ooops! font-directory /usr/share/texmf/fonts/pk does not exist.
> Need to change value for $TEXMFMAIN?
That problem is not Debian specific.
> PK fonts are stored in /var/spool/texmf/pk on Debian systems, but
> mkfontdesc assumes that they are in TEXMFMAIN/fonts/pk, where
> TEXMFMAIN is expanded to /usr/share/texmf by kpstool -v
> '$TEXMFMAIN'.
>
> VARTEXFONTS is set to /var/spool/texmf, but using VARTEXFONTS
> instead of TEXMFMAIN would still fail because mkfontdesc assumes
> that there's a directory called fonts that contains a directory
> called pk below the directory specifed.
>
> The problem can be fixed by creating a symbolic link between
> /var/spool/texmf/pk and /usr/share/texmf/fonts/pk, but I'm not
> sure that's the best solution.
We should fix mkfontdesc. Please try the following patch:
20,22c20,22
< TEXMF=`kpsetool -v '$TEXMFMAIN'`
< pk=$TEXMF/fonts/pk
< FONTDESC=$TEXMF/fonts/fontdesc
---
> VARTEXFONTS=`kpsetool -v '$VARTEXFONTS'`
> pk=$VARTEXFONTS/pk
> FONTDESC=$VARTEXFONTS/fontdesc
Christoph
Reply to: