Unable to use the "bbm" font with dvipng 1.16

Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to use the "bbm" font with dvipng 1.16

b05502025
Hi,

I was trying to compile the following tex file with pdflatex and dvipng

\documentclass{article}
\usepackage{bbm}
\pagestyle{empty}
\begin{document}

$\mathbbm{N}$

\end{document}


But dvipng failed with the following error:

dvipng: Fatal error, PK file /Users/alice/Library/texlive/2019/texmf-var/fonts/pk/cx/public/bbm/bbm10.400pk ends prematurely


The commands I used:

pdflatex --output-format dvi test.tex
dvipng test.dvi


Environment:
- MacTeX 2019
- dvipng 1.16
- pdfTeX 3.14159265-2.6-1.40.20 (TeX Live 2019)
- kpathsea version 6.3.1



The full output of dvipng:

This is dvipng 1.16 Copyright 2002-2015, 2019 Jan-Ake Larsson

kpathsea: Running mktexpk --mfmode cx --bdpi 300 --mag 1+100/300 --dpi 400 bbm10
mktexpk: Running mf-nowin -progname=mf \mode:=cx; mag:=1+100/300; nonstopmode; input bbm10
This is METAFONT, Version 2.7182818 (TeX Live 2019) (preloaded base=mf)

(/usr/local/texlive/2019/texmf-dist/fonts/source/public/bbm/bbm10.mf
(/usr/local/texlive/2019/texmf-dist/fonts/source/public/bbm/blbbase.mf
(/usr/local/texlive/2019/texmf-dist/fonts/source/public/cm/cmbase.mf))
(/usr/local/texlive/2019/texmf-dist/fonts/source/public/bbm/blbord.mf
(/usr/local/texlive/2019/texmf-dist/fonts/source/public/bbm/blbordu.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])
(/usr/local/texlive/2019/texmf-dist/fonts/source/public/bbm/blbordl.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])
(/usr/local/texlive/2019/texmf-dist/fonts/source/public/bbm/blbordsp.mf
[49] [50] [40] [41] [91] [93]) ) )
Font metrics written on bbm10.tfm.
Output written on bbm10.400gf (58 characters, 11572 bytes).
Transcript written on bbm10.log.
mktexpk: /Users/user/Library/texlive/2019/texmf-var/fonts/pk/cx/public/bbm/bbm10.400pk: successfully generated.
[1
dvipng: Fatal error, PK file /Users/user/Library/texlive/2019/texmf-var/fonts/pk/cx/public/bbm/bbm10.400pk ends prematurely

Reply | Threaded
Open this post in threaded view
|

Re: Unable to use the "bbm" font with dvipng 1.16

Jan-Åke Larsson-2

Hi,

There is a typo in v1.16 that causes PK rendering to fail. I have fixed this in the git archive, and this will be released as a bugfix release as soon as I can find the time to do that.

dvipng 1.15 does not have this problem.

Best
Jan-Åke


On 2019-11-27 18:06, b05502025 wrote:
Hi,

I was trying to compile the following tex file with pdflatex and dvipng

\documentclass{article}
\usepackage{bbm}
\pagestyle{empty}
\begin{document}

$\mathbbm{N}$

\end{document}


But dvipng failed with the following error:

dvipng: Fatal error, PK file /Users/alice/Library/texlive/2019/texmf-var/fonts/pk/cx/public/bbm/bbm10.400pk ends prematurely


The commands I used:

pdflatex --output-format dvi test.tex
dvipng test.dvi


Environment:
- MacTeX 2019
- dvipng 1.16
- pdfTeX 3.14159265-2.6-1.40.20 (TeX Live 2019)
- kpathsea version 6.3.1



The full output of dvipng:

This is dvipng 1.16 Copyright 2002-2015, 2019 Jan-Ake Larsson

kpathsea: Running mktexpk --mfmode cx --bdpi 300 --mag 1+100/300 --dpi 400 bbm10
mktexpk: Running mf-nowin -progname=mf \mode:=cx; mag:=1+100/300; nonstopmode; input bbm10
This is METAFONT, Version 2.7182818 (TeX Live 2019) (preloaded base=mf)

(/usr/local/texlive/2019/texmf-dist/fonts/source/public/bbm/bbm10.mf
(/usr/local/texlive/2019/texmf-dist/fonts/source/public/bbm/blbbase.mf
(/usr/local/texlive/2019/texmf-dist/fonts/source/public/cm/cmbase.mf))
(/usr/local/texlive/2019/texmf-dist/fonts/source/public/bbm/blbord.mf
(/usr/local/texlive/2019/texmf-dist/fonts/source/public/bbm/blbordu.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])
(/usr/local/texlive/2019/texmf-dist/fonts/source/public/bbm/blbordl.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])
(/usr/local/texlive/2019/texmf-dist/fonts/source/public/bbm/blbordsp.mf
[49] [50] [40] [41] [91] [93]) ) )
Font metrics written on bbm10.tfm.
Output written on bbm10.400gf (58 characters, 11572 bytes).
Transcript written on bbm10.log.
mktexpk: /Users/user/Library/texlive/2019/texmf-var/fonts/pk/cx/public/bbm/bbm10.400pk: successfully generated.
[1
dvipng: Fatal error, PK file /Users/user/Library/texlive/2019/texmf-var/fonts/pk/cx/public/bbm/bbm10.400pk ends prematurely

--
Jan-Åke Larsson
Professor, Head of Department


Linköping University
Department of Electrical Engineering
SE-581 83 Linköping
Phone: +46 (0)13-28 14 68
Mobile: +46 (0)13-28 14 68
Visiting address: Campus Valla, House B, Entr 27, 3A:482
Please visit us at www.liu.se

smime.p7s (4K) Download Attachment