* Sebastien Bacher [2014-01-08 16:57:52 -0000]:
> Thanks for your bug report. Could you add an example for such dvi file?
I cen try and construct one that reproduces the issue on my system, but
there is no guarantee that the same choice of font will reproduce the
problem somewhere else: that depends on the history of the individual
system (specifically, on whether the pk files for the font in question
have already been generated and cached).
> That would make easier to reproduce/debug the issue
With texlive-fonts-extra installed, try the following. If you happen to have
used font t2c-iwonami in the past, try with a different font. Note the
"Permission denied" errors when running evince, and the decision to
substitute a (very) different font for the one that was requested.
$ tex testfont
This is TeX, Version 3.1415926 (TeX Live 2009/Debian)
(/usr/share/texmf-texlive/tex/plain/base/testfont.tex
Name of the font to test = t2c-iwonami
Now type a test command (\help for help):)
*\table
*\bye
[1]
Output written on testfont.dvi (1 page, 9320 bytes).
Transcript written on testfont.log.
$ evince testfont.dvi
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 t2c-iwonami
/usr/bin/mktexpk: 1: /usr/bin/mktexpk: /usr/share/texmf/web2c/mktexnam: Permission denied
mktexpk: / already exists.
/usr/bin/mktexpk: 210: /usr/bin/mktexpk: /usr/share/texmf/web2c/mktexupd: Permission denied
kpathsea: Appending font creation commands to missfont.log.
page: Warning: font `t2c-iwonami' at 600x600 not found, trying `cmr10' instead
Running the above resulted in the following dmesg entries:
* Sebastien Bacher [2014-01-08 16:57:52 -0000]:
> Thanks for your bug report. Could you add an example for such dvi file?
I cen try and construct one that reproduces the issue on my system, but
there is no guarantee that the same choice of font will reproduce the
problem somewhere else: that depends on the history of the individual
system (specifically, on whether the pk files for the font in question
have already been generated and cached).
> That would make easier to reproduce/debug the issue
With texlive-fonts-extra installed, try the following. If you happen to have
used font t2c-iwonami in the past, try with a different font. Note the
"Permission denied" errors when running evince, and the decision to
substitute a (very) different font for the one that was requested.
$ tex testfont texmf-texlive/ tex/plain/ base/testfont. tex
This is TeX, Version 3.1415926 (TeX Live 2009/Debian)
(/usr/share/
Name of the font to test = t2c-iwonami
Now type a test command (\help for help):)
*\table
*\bye
[1]
Output written on testfont.dvi (1 page, 9320 bytes).
Transcript written on testfont.log.
$ evince testfont.dvi
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 t2c-iwonami texmf/web2c/ mktexnam: Permission denied texmf/web2c/ mktexupd: Permission denied
/usr/bin/mktexpk: 1: /usr/bin/mktexpk: /usr/share/
mktexpk: / already exists.
/usr/bin/mktexpk: 210: /usr/bin/mktexpk: /usr/share/
kpathsea: Appending font creation commands to missfont.log.
page: Warning: font `t2c-iwonami' at 600x600 not found, trying `cmr10' instead
Running the above resulted in the following dmesg entries:
[ 2112.341075] type=1400 audit(138925276 7.990:36) : apparmor="DENIED" operation="exec" parent=3320 profile= "/usr/bin/ evince/ /sanitized_ helper" name="/ usr/share/ texmf/web2c/ mktexnam" pid=3342 comm="mktexpk" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0 8.122:37) : apparmor="DENIED" operation="exec" parent=3320 profile= "/usr/bin/ evince/ /sanitized_ helper" name="/ usr/share/ texmf/web2c/ mktexupd" pid=3347 comm="mktexpk" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0
[ 2112.475442] type=1400 audit(138925276
The problem goes away if one runs the command that was saved in ~/missfont.log
and runs evince again on the same .dvi file.