[texhax] running metafont for the first time

Randy Schilling RChilling at comcast.net
Sat Jul 22 04:10:55 CEST 2006


Dear Sir - 

 

I created a file io.dvi by the process described in chapter 5 of the book
METAFONT by Dr Knuth 

(using the program mf and then the program gftodvi).

When I opened io.dvi file using YAP in windows I got a message saying "Not
all fonts could be loaded".

"Document Properties" in the YAP file menu indicated that a font called gray
was not loadable.

The gray logbook contained the following detailed message:

____________________________________________________________________________
____

Making PK font:

C:\PROGRA~1\ProText\TeXMF\miktex\bin\makepk.exe --verbose gray 600 600
magstep(0.0) ljfour

Trying to make PK font "gray" (at 600 DPI)...

Creating "gray.pk"...

"mf" \mode:=ljfour; \mag:=magstep(0.0);nonstopmode;input gray

This is METAFONT, Version 2.71828 (MiKTeX 2.4)

 

(C:\Program Files\ProText\TeXMF\fonts\source\public\misc\gray.mf

(C:\Program Files\ProText\TeXMF\fonts\source\public\misc\graycx.mf

! This file is for cx only.

<to be read again> 

                   ;

l.4 ...>cx: errmessage "This file is for cx only";

                                                   fi

(C:\Program Files\ProText\TeXMF\fonts\source\public\misc\grayf.mf [0] [1]

[2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17]

[18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32]

[33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47]

[48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62]

[63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77]

[78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90] [91] [92]

[93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106]

[107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118]

[119] [120] [121] [122] ) ) )

(see the transcript file for additional information)

Font metrics written on gray.tfm.

Output written on gray.600gf (123 characters, 13296 bytes).

Transcript written on gray.log.

METAFONT failed for some reason

makepk: METAFONT failed on "gray".

 

 

Loading 'cmr10' instead

____________________________________________________________________________
______________________

which concluded saying "Metafont failed for some reason.loading cmr10
instead".

 

The picture in io.dvi is a bizarre display of various letters, probably from
cmr10, outlining what resembles the letter O.

I would guess that letters from cmr10 replaced gray things (as described in
Appendix H of METAFONT) which would 

Normally have outlined a much better letter O.  The printed version of
io.dvi shows a square, some labels, but no curves 

and no bizarre display of letters like that in io.dvi

 

A search for files of the form gray*.* revealed gray.mf and gray.tfm but no
gray.600gf and no gray.log. 

 

Please help me correct this problem with the gray font (or whatever) so that
I may reasonably 

continue working my way through METAFONT.

 

Thanks  -  Randy

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20060721/35575c4c/attachment.htm 


More information about the texhax mailing list