Menu

#2525 dvipdfmx problems (makepk does not succeed)

None
fixed
None
2016-09-07
2016-08-10
No

dvipdfmx can not compile .dvi files generated by gftodvi anymore.

To see that, run

mf font.mf

where font.mf is the attached MetaFont file.

After that, run

gftodvi font.2602gf

and then

dvipdfmx font.dvi

It fails with the following output:

Trying to make PK font gray at 600 DPI...
Creating gray.pk...
Running miktex-mf.exe...
This is METAFONT, Version 2.7182818 (MiKTeX 2.9 64-bit)

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

(C:\Program Files\MiKTeX\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\MiKTeX\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, 13144 bytes).

Transcript written on gray.log.

METAFONT failed for some reason

Sorry, but makepk did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

  C:/Users/Rah/AppData/Local/MiKTeX/2.9/miktex/log/miktex-makepk.log

You may want to visit the MiKTeX project page, if you need help.
font.dvi -> font.pdf
[1
dvipdfmx:warning: Could not locate a virtual/physical font for TFM "gray".
dvipdfmx:warning: >> There are no valid font mapping entry for this font.
dvipdfmx:warning: >> Font file name "gray" was assumed but failed to locate that font.
dvipdfmx:fatal: Cannot proceed without .vf or "physical" font for PDF output...

Output file removed.

The contents of the file miktex-makepk.log is:

2016-08-10 09:33:44,684+0200 INFO  makex - Trying to make PK font gray at 600 DPI...
2016-08-10 09:33:44,702+0200 INFO  makex - Creating gray.pk...
2016-08-10 09:33:44,707+0200 INFO  makex - Running miktex-mf.exe...
2016-08-10 09:33:44,947+0200 INFO  makex - METAFONT failed for some reason
2016-08-10 09:34:17,735+0200 INFO  makex - Trying to make PK font gray at 600 DPI...
2016-08-10 09:34:17,752+0200 INFO  makex - Creating gray.pk...
2016-08-10 09:34:17,755+0200 INFO  makex - Running miktex-mf.exe...
2016-08-10 09:34:17,990+0200 INFO  makex - METAFONT failed for some reason
2016-08-10 09:44:44,355+0200 INFO  makex - Trying to make PK font gray at 600 DPI...
2016-08-10 09:44:44,375+0200 INFO  makex - Creating gray.pk...
2016-08-10 09:44:44,375+0200 INFO  makex - Running miktex-mf.exe...
2016-08-10 09:44:44,635+0200 INFO  makex - METAFONT failed for some reason
1 Attachments

Discussion

  • U_Fischer

    U_Fischer - 2016-08-10

    I get the error too, but it is not related to the last updates. gray.mf in
    \fonts\source\public\misc\gray.mf contains the single line input graycx.

    In TeXlive gray.mf resides in /fonts/source/public/knuth-local/gray.mf and contains the line \input graylj.

    After creating a local gray.mf in a local root (it didn't work in the current directory) with the content \input graylj dvipdfmx succeeded.

     
  • karl koeller

    karl koeller - 2016-08-10

    Thanks Ulrike for the info.

    I don't know which change has caused this error, but it used to work (not too much) time ago.

     
  • karl koeller

    karl koeller - 2016-08-10

    I've solved the problem writing the line

    special "grayfont graylj";
    

    in the .mf file.

    The same can be obtained giving --gray-font=graylj as a gftodvi command line option.

     
  • Christian Schenk

    • status: open --> in-the-works
    • assigned_to: Christian Schenk
     
  • Christian Schenk

    This has been fixed. The updated gray.mf is a part of the new package 'knuth-local'.

     
  • Christian Schenk

    • status: in-the-works --> fixed