<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p>When using long paths, the produced ps file is corrupted:
</p>
    <p>dvips C:\Users\CHERCH~1\AppData\Local\Temp\latexdraw\latexdrawTmp155609977093670844\latexdrawTmpPic1556099770936.dvi -o C:\Users\CHERCH~1\AppData\Local\Temp\latexdraw\latexdrawTmp155609977093670844\latexdrawTmpPic1556099770936.ps</p>
    <p>This command produces a ps file in which the following code is corrupted (the closing parenthesis is missing):</p>
    <p>TeXDict begin 6889347 995423 1000 600 600
(C:\Users\CHERCH~1\AppData\Local\Temp\latexdraw\latexdrawTmp155609977093670844\latexdrawTmpPic155609977</p>
    <p>Adding the missing parenthesis manually fixes the problem.
</p>
    <p>When using short paths, it works:
</p>
    <p>dvips latexdrawTmpPic1556099770936.dvi</p>
    <p>I worked with dvips(k) 5.998 (on Linux).
The problem appears with dvips(k) 5.999 (on Windows 10 at least).</p>
    <p>The LaTeX document I use (that I compile with latex) is simply:

</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">\documentclass{standalone}</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">\usepackage[usenames,dvipsnames]{pstricks}</p>
    <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">\begin{document}</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">\psscalebox{3.5277777 3.5277777}{$hello$}</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">\end{document}</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">-arno
</p>
    <p><style type="text/css">
p, li { white-space: pre-wrap; }
</style></p>
  </body>
</html>