I am running pdfTeX with dvi output. If font expansion is enabled, then I need the extra fonts, such as cmr10+20. When I try to view the dvi, xdvi tries to make various fonts and fails; the file missfont.log gets appended various commands, such as mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 cmr10+20. If I try that command, I get an error, with mktexpk: perhaps cmr10+20 is missing from the map file. It seems first I have to modify the map file. I don't know whether that is all I have to do or not, but I don't know how to do that for a font that does not exist yet.
I realize that if I used pdf output, this would not be needed. I am running Ubuntu 14.04.
Edit: In response to a request, here is a sample file. The problem will occur with any file that needs font expansion, however.
\pdfoutput=0
\pdffontexpand\tenrm 20 20 10 autoexpand
\pdfadjustspacing=2
\hsize=3in
There is a striking, but easily established, correspondence between
electrical networks and
random walks on graphs (or on networks).
\bye
Edit 2:
The fonts I am actually using most and thus would like to enable expansion for are ntx-Regular-tlf-ot1 and ntx-Italic-tlf-ot1. I would also like to enable expansion for ntxmi.
autoexpandonly works for PDF output and that for DVI output you need to prepare in advance the TFM files for the expanded fonts. – egreg Dec 28 '15 at 22:37;-)– egreg Dec 28 '15 at 22:50