Feeding
\documentclass{article}
\usepackage{mdframed}
\begin{document}
\begin{mdframed}
Test
\end{mdframed}
\end{document}
to latex followed by dvips results in the left vertical bar (and, with different contents, sometimes the upper bar) of the frame vanishing at certain magnifications of gv: 0.1, 0.125, 0.250, and 2. Here is what we see at the double zoom:
To compare with other methods of generating a frame,
\documentclass{article}
\usepackage{framed,mdframed}
\begin{document}
\begin{framed}Good\end{framed}
\noindent\fbox{\parbox{\dimexpr\textwidth-2\fboxsep-2\fboxrule}{Good}}
\begin{mdframed}Bad\end{mdframed}
\end{document}
yields
in gv.
Who is the culprit: latex, mdframed, dvips or any of their combinations? Any fix, any remedies? (A suggestion to use pstricks or tikz would be only the second choice because we'd ideally like to see the lines natively in DVI, too.)
Crosspost: http://github.com/marcodaniel/mdframed/issues/42 .
EDIT: This particular view is specific to gv. As opposed to mdframed missing half the frame, we do NOT always miss a half of the frame. Other viewers (e.g., okular) have issues at other sets of magnifications.


\usepackage[tikz]{mdframed}or\usepackage[pstricks]{mdframed}. Or better switch to tcolorbox which is much more powerful and actively maintained. – Ulrike Fischer May 24 '23 at 07:28\fboxare visible in DVI, and asframeddoes its job for DVI in my opinion, too, we could hopefully do the same/similar formdframed. – May 24 '23 at 19:18