[tex-live] dvips -K1 removes a newline where it shouldn't

T S texlist at gmail.com
Sat Jan 2 00:32:16 CET 2010


Hi,

when I run "dvips -K1" from current texlive-2009 it removes a newline
after %%BeginFont: command, e.g.  a figure which has

%%BeginFont: MC1_ArialBold
12 dict begin
/FontInfo 8 dict dup begin
...

will be included in the dvips -K1 generated postscript as

%%BeginFont: MC1_ArialBold12 dict begin
/FontInfo 8 dict dup begin
...

which is obviously wrong and results in invalid postscript.

Similarly the font cmr10.pfb
(texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb)

which has this header section
...
% available with a FAQ at: http://scripts.sil.org/OFL.
%%EndComments

FontDirectory/CMR10 known{/CMR10 findfont dup/UniqueID known{dup
....

is included as

...
% available with a FAQ at: http://scripts.sil.org/OFL.
%%EndComments
FontDirectory/CMR10 known{/CMR10 findfont dup/UniqueID known{dup
...

so the newline after %%EndComments seems to have been eaten, in this
case without adverse effect.

Minimal sample file:

> cat t.tex
\documentclass{article}
\usepackage{graphics}
\begin{document}
\includegraphics{Dvss2T02.EPS}
\end{document}


figure is attached to this email

Cheers
T.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Dvss2T02.EPS
Type: application/postscript
Size: 34828 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-live/attachments/20100101/37c3e326/attachment-0001.eps>


More information about the tex-live mailing list