dvipng/miktex 2.5 usetex problem

I am trying to use latex with matplolib on Windows XP with MikTex 2.5
and dvipng 1.8.

I am getting this warning:
dvipng warning: font cmsy10 at 512 dpi not found, characters will be left blank

when I do this:

t=arange(0,1,0.01)
y=sin(2*pi*t)
plot(t,y)

and this
ylabel('$y(t)$')

leads to
dvipng warning: font cmr17 at 356 dpi not found, characters will be left blank

with no ylabel.

I am also getting a lot of other output (see below).

How do I fix this?

Thanks,

Ryan

···

==============================================
Trying to make PK font cmmi12 at 512 DPI...
Creating cmmi12.pk...
Running mf...
This is METAFONT, Version 2.71828 (MiKTeX 2.5)

(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\cmmi12.mf
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\cmbase.mf)
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\mathit.mf
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romanu.mf [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])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\itall.mf [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])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\greeku.mf [0] [1] [2]
[3] [4] [5] [6] [7] [8] [9] [10])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\greekl.mf [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])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\italms.mf [64] [96]
[123] [124] [125] [126] [127])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\olddig.mf [48] [49]
[50] [51] [52] [53] [54] [55] [56] [57])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romms.mf [40] [41] [42]
[43] [44] [45] [46] [47] [58] [59] [60] [61] [62] [63] [91] [92] [93] [94]
[95]) ) )
Font metrics written on cmmi12.tfm.
Output written on cmmi12.512gf (128 characters, 25960 bytes).
Transcript written on cmmi12.log.
METAFONT failed for some reason
ignoring 0 strange path(s)
Running gftopk...
This is GFtoPK, Version 2.3 (MiKTeX 2.5)
'METAFONT output 2006.10.27:2322'
25960 bytes packed to 14164 bytes.
dvipng warning: font cmmi12 at 512 dpi not found, characters will be left blan
Trying to make PK font cmr17 at 356 DPI...
Creating cmr17.pk...
Running mf...
This is METAFONT, Version 2.71828 (MiKTeX 2.5)

(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\cmr17.mf
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\cmbase.mf)
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\roman.mf
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romanu.mf [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])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romanl.mf [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])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\greeku.mf [0] [1] [2]
[3] [4] [5] [6] [7] [8] [9] [10])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romand.mf [48] [49]
[50] [51] [52] [53] [54] [55] [56] [57])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romanp.mf [36] [38]
[63] [62]) (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romspl.mf
[16] [17] [25] [26] [27] [28])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romspu.mf [29] [30]
[31]) (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\punct.mf [33]
[60] [35] [37] [39] [40] [41] [42] [43] [44] [46] [47] [58] [59] [61] [64]
[91] [93] [96]) (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\accent.mf
[18] [19] [20] [21] [22] [23] [24] [32] [94] [95] [125] [126] [127])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romlig.mf [11] [12]
[13] [14] [15]) (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\comlig.mf
[34] [45] [92] [123] [124]) ) )
Font metrics written on cmr17.tfm.
Output written on cmr17.356gf (128 characters, 24612 bytes).
Transcript written on cmr17.log.
METAFONT failed for some reason
ignoring 0 strange path(s)
Running gftopk...
This is GFtoPK, Version 2.3 (MiKTeX 2.5)
'METAFONT output 2006.10.27:2322'
24612 bytes packed to 11084 bytes.
dvipng warning: font cmr17 at 356 dpi not found, characters will be left blank

You could try changing your font settings in matplotlibrc, maybe times for
serif and helvetica for sans-serif. dvipng is trying to locate a font that
hasn't been (or cannot be) generated. This is usually an issue with bitmapped
fonts, which are generated on demand, so you would get lots of these messages
when working with a new Miktex install.

I dont know why bitmapped fonts are being used though, since usetex
specifically asks for type1 fonts. Maybe you need to go into your miktex
package manager and make sure you have type1cm available on your system.

Darren

···

On Saturday 28 October 2006 12:25 am, Ryan Krauss wrote:

I am trying to use latex with matplolib on Windows XP with MikTex 2.5
and dvipng 1.8.

I am getting this warning:
dvipng warning: font cmsy10 at 512 dpi not found, characters will be left
blank

when I do this:

t=arange(0,1,0.01)
y=sin(2*pi*t)
plot(t,y)

and this
ylabel('$y(t)$')

leads to
dvipng warning: font cmr17 at 356 dpi not found, characters will be left
blank

with no ylabel.

I am also getting a lot of other output (see below).

How do I fix this?

Thanks,

Ryan

==============================================
Trying to make PK font cmmi12 at 512 DPI...
Creating cmmi12.pk...
Running mf...
This is METAFONT, Version 2.71828 (MiKTeX 2.5)

(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\cmmi12.mf
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\cmbase.mf)
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\mathit.mf
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romanu.mf [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])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\itall.mf [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])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\greeku.mf [0] [1] [2]
[3] [4] [5] [6] [7] [8] [9] [10])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\greekl.mf [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])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\italms.mf [64] [96]
[123] [124] [125] [126] [127])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\olddig.mf [48] [49]
[50] [51] [52] [53] [54] [55] [56] [57])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romms.mf [40] [41] [42]
[43] [44] [45] [46] [47] [58] [59] [60] [61] [62] [63] [91] [92] [93] [94]
[95]) ) )
Font metrics written on cmmi12.tfm.
Output written on cmmi12.512gf (128 characters, 25960 bytes).
Transcript written on cmmi12.log.
METAFONT failed for some reason
ignoring 0 strange path(s)
Running gftopk...
This is GFtoPK, Version 2.3 (MiKTeX 2.5)
'METAFONT output 2006.10.27:2322'
25960 bytes packed to 14164 bytes.
dvipng warning: font cmmi12 at 512 dpi not found, characters will be left
blan Trying to make PK font cmr17 at 356 DPI...
Creating cmr17.pk...
Running mf...
This is METAFONT, Version 2.71828 (MiKTeX 2.5)

(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\cmr17.mf
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\cmbase.mf)
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\roman.mf
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romanu.mf [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])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romanl.mf [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])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\greeku.mf [0] [1] [2]
[3] [4] [5] [6] [7] [8] [9] [10])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romand.mf [48] [49]
[50] [51] [52] [53] [54] [55] [56] [57])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romanp.mf [36] [38]
[63] [62]) (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romspl.mf
[16] [17] [25] [26] [27] [28])
(C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romspu.mf [29] [30]
[31]) (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\punct.mf [33]
[60] [35] [37] [39] [40] [41] [42] [43] [44] [46] [47] [58] [59] [61] [64]
[91] [93] [96]) (C:\Program Files\MiKTeX
2.5\fonts\source\public\cm\accent.mf [18] [19] [20] [21] [22] [23] [24]
[32] [94] [95] [125] [126] [127]) (C:\Program Files\MiKTeX
2.5\fonts\source\public\cm\romlig.mf [11] [12] [13] [14] [15]) (C:\Program
Files\MiKTeX 2.5\fonts\source\public\cm\comlig.mf [34] [45] [92] [123]
[124]) ) )
Font metrics written on cmr17.tfm.
Output written on cmr17.356gf (128 characters, 24612 bytes).
Transcript written on cmr17.log.
METAFONT failed for some reason
ignoring 0 strange path(s)
Running gftopk...
This is GFtoPK, Version 2.3 (MiKTeX 2.5)
'METAFONT output 2006.10.27:2322'
24612 bytes packed to 11084 bytes.
dvipng warning: font cmr17 at 356 dpi not found, characters will be left
blank

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--
Darren S. Dale, Ph.D.
dd55@...163...

Thanks Darren. type1cm got installed on the fly by miktex the first
time I ran this, but that must not have taken effect fast enough or
something. The miktex package manager now shows it as installed and
deleting my matplotlib tex.cache and ttfont.cache and re-running my
test leads to the usual, beautiful results (without changing the
default fonts).

Thank again,

Ryan

···

On 10/28/06, Darren Dale <dd55@...163...> wrote:

You could try changing your font settings in matplotlibrc, maybe times for
serif and helvetica for sans-serif. dvipng is trying to locate a font that
hasn't been (or cannot be) generated. This is usually an issue with bitmapped
fonts, which are generated on demand, so you would get lots of these messages
when working with a new Miktex install.

I dont know why bitmapped fonts are being used though, since usetex
specifically asks for type1 fonts. Maybe you need to go into your miktex
package manager and make sure you have type1cm available on your system.

Darren

On Saturday 28 October 2006 12:25 am, Ryan Krauss wrote:
> I am trying to use latex with matplolib on Windows XP with MikTex 2.5
> and dvipng 1.8.
>
> I am getting this warning:
> dvipng warning: font cmsy10 at 512 dpi not found, characters will be left
> blank
>
> when I do this:
>
> t=arange(0,1,0.01)
> y=sin(2*pi*t)
> plot(t,y)
>
> and this
> ylabel('$y(t)$')
>
> leads to
> dvipng warning: font cmr17 at 356 dpi not found, characters will be left
> blank
>
> with no ylabel.
>
> I am also getting a lot of other output (see below).
>
> How do I fix this?
>
> Thanks,
>
> Ryan
>
> ==============================================
> Trying to make PK font cmmi12 at 512 DPI...
> Creating cmmi12.pk...
> Running mf...
> This is METAFONT, Version 2.71828 (MiKTeX 2.5)
>
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\cmmi12.mf
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\cmbase.mf)
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\mathit.mf
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romanu.mf [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])
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\itall.mf [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])
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\greeku.mf [0] [1] [2]
> [3] [4] [5] [6] [7] [8] [9] [10])
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\greekl.mf [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])
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\italms.mf [64] [96]
> [123] [124] [125] [126] [127])
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\olddig.mf [48] [49]
> [50] [51] [52] [53] [54] [55] [56] [57])
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romms.mf [40] [41] [42]
> [43] [44] [45] [46] [47] [58] [59] [60] [61] [62] [63] [91] [92] [93] [94]
> [95]) ) )
> Font metrics written on cmmi12.tfm.
> Output written on cmmi12.512gf (128 characters, 25960 bytes).
> Transcript written on cmmi12.log.
> METAFONT failed for some reason
> ignoring 0 strange path(s)
> Running gftopk...
> This is GFtoPK, Version 2.3 (MiKTeX 2.5)
> 'METAFONT output 2006.10.27:2322'
> 25960 bytes packed to 14164 bytes.
> dvipng warning: font cmmi12 at 512 dpi not found, characters will be left
> blan Trying to make PK font cmr17 at 356 DPI...
> Creating cmr17.pk...
> Running mf...
> This is METAFONT, Version 2.71828 (MiKTeX 2.5)
>
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\cmr17.mf
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\cmbase.mf)
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\roman.mf
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romanu.mf [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])
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romanl.mf [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])
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\greeku.mf [0] [1] [2]
> [3] [4] [5] [6] [7] [8] [9] [10])
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romand.mf [48] [49]
> [50] [51] [52] [53] [54] [55] [56] [57])
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romanp.mf [36] [38]
> [63] [62]) (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romspl.mf
> [16] [17] [25] [26] [27] [28])
> (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\romspu.mf [29] [30]
> [31]) (C:\Program Files\MiKTeX 2.5\fonts\source\public\cm\punct.mf [33]
> [60] [35] [37] [39] [40] [41] [42] [43] [44] [46] [47] [58] [59] [61] [64]
> [91] [93] [96]) (C:\Program Files\MiKTeX
> 2.5\fonts\source\public\cm\accent.mf [18] [19] [20] [21] [22] [23] [24]
> [32] [94] [95] [125] [126] [127]) (C:\Program Files\MiKTeX
> 2.5\fonts\source\public\cm\romlig.mf [11] [12] [13] [14] [15]) (C:\Program
> Files\MiKTeX 2.5\fonts\source\public\cm\comlig.mf [34] [45] [92] [123]
> [124]) ) )
> Font metrics written on cmr17.tfm.
> Output written on cmr17.356gf (128 characters, 24612 bytes).
> Transcript written on cmr17.log.
> METAFONT failed for some reason
> ignoring 0 strange path(s)
> Running gftopk...
> This is GFtoPK, Version 2.3 (MiKTeX 2.5)
> 'METAFONT output 2006.10.27:2322'
> 24612 bytes packed to 11084 bytes.
> dvipng warning: font cmr17 at 356 dpi not found, characters will be left
> blank
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--
Darren S. Dale, Ph.D.
dd55@...163...