| 1 |
%! |
| 2 |
% Patch by TVZ |
| 3 |
% Makes dvips files draw rules with stroke rather than fill. |
| 4 |
% Makes narrow rules more predictable at low resolutions |
| 5 |
% after distilling to PDF. |
| 6 |
% May have unknown consequences for very thick rules. |
| 7 |
% Tested only with dvips 5.85(k). |
| 8 |
TeXDict begin |
| 9 |
/QV { |
| 10 |
gsave newpath /ruleY X /ruleX X |
| 11 |
Rx Ry gt |
| 12 |
{ ruleX ruleY Ry 2 div sub moveto Rx 0 rlineto Ry } |
| 13 |
{ ruleX Rx 2 div add ruleY moveto 0 Ry neg rlineto Rx } |
| 14 |
ifelse |
| 15 |
setlinewidth 0 setlinecap stroke grestore |
| 16 |
} bind def |
| 17 |
end |