Discussion:
[Dvipng] dvipng always uses pk fonts (because of CRLF problem)
Lev Bishop
2010-08-18 04:50:17 UTC
Permalink
See also miktex bug ID 3047433 at
https://sourceforge.net/tracker/?func=detail&aid=3047433&group_id=10783&atid=110783

I see that pk fonts are always used, eg:

This is C:\Program Files\MiKTeX 2.8\miktex\bin\dvipng.exe (dvipng) 1.12 Copyrigh
t 2002-2008 Jan-Ake Larsson
' TeX output 2010.08.17:1822' -> test%d.png
[1<C:\Documents and Settings\Lev\Local Settings\Application Data\MiKTeX\2.8\font
s\pk\cx\public\cm\dpi400\cmr10.pk>]

It seems to be a CRLF vs LF issue, because if I convert the ps2pk.map
file to use LF line endings then the type 1 fonts are used:

This is C:\Program Files\MiKTeX 2.8\miktex\bin\dvipng.exe (dvipng) 1.12 Copyrigh
t 2002-2008 Jan-Ake Larsson
' TeX output 2010.08.17:1822' -> test%d.png
[1<C:/Program Files/MiKTeX 2.8/fonts/type1/public/amsfonts/cm/cmr10.pfb>]

Lev

--
Lev Bishop
Postdoctoral Associate
Yale University
Jan-Åke Larsson
2010-08-18 07:32:31 UTC
Permalink
Post by Lev Bishop
It seems to be a CRLF vs LF issue, because if I convert the ps2pk.map
Thanks for the report. This explains several reports I have got. My
problem is that I do not have a system to test on myself, so I have not
been able to hunt down these bugs. We have made a number of changes to
dvipng to lift it into miktex (like mmap and fork changes) but I did not
expect this to pop up.

Anyhow, I'll fix this ASAP and make a new release.

/JÅ
Jan-Åke Larsson
2010-11-30 13:31:02 UTC
Permalink
Post by Jan-Åke Larsson
Post by Lev Bishop
It seems to be a CRLF vs LF issue, because if I convert the ps2pk.map
Thanks for the report. This explains several reports I have got. My
problem is that I do not have a system to test on myself, so I have not
been able to hunt down these bugs. We have made a number of changes to
dvipng to lift it into miktex (like mmap and fork changes) but I did not
expect this to pop up.
Anyhow, I'll fix this ASAP and make a new release.
Any progress on this?
Yes, the fix is in CVS, and I was waiting for feedback from packagers.
But since nothing has happened I'll release anyway, Real Soon Now.

/JÅ
Lev Bishop
2010-11-30 06:38:05 UTC
Permalink
Post by Jan-Åke Larsson
Post by Lev Bishop
It seems to be a CRLF vs LF issue, because if I convert the ps2pk.map
Thanks for the report. This explains several reports I have got. My
problem is that I do not have a system to test on myself, so I have not
been able to hunt down these bugs. We have made a number of changes to
dvipng to lift it into miktex (like mmap and fork changes) but I did not
expect this to pop up.
Anyhow, I'll fix this ASAP and make a new release.
Any progress on this?

Lev

Loading...