My main experience with Metafont was Christopher Grandsire's The METAFONTtutorial which I think is a good and concise description of the language and its tricks, but I've missing one important part: how to produce a .PDF or printed document using your newly created font.
So. How can I write a Hello World document using a newly created font with Metafont? (Or with any other font I would've created by a package such as Fontographer, FontForge, etc.)
tex hello.tex
example I get a .dvi which I cannot read in my dvi reader.dvips
produces the same result, andps2pdf
does not show the commanded characters.pdftex
reports error “!pdfTeX error: pdftex (file chlscr): Font chlscr at 600 not found” andluatex
reports “! Font \myfont=chlscr.mf not loadable: metric data not found or bad.” I might be missing some step.gftomk
command.gftopk
command, which creates a.pk
file. Metafont itself creates the metric file (exension.tfm
). The error you quote from pdftex indicate a missing file namedchlscr.600pk
. On the other hand the error from luatex indicates a missing .tfm file. That could come from using the incorrect\font
command. It should be\font\myfont=chlscr
(without extension), not\font\myfont=chlscr.mf
.