diff --git a/common/plotters/PDF_plotter.cpp b/common/plotters/PDF_plotter.cpp index b6ac58e4d2..71b8e84242 100644 --- a/common/plotters/PDF_plotter.cpp +++ b/common/plotters/PDF_plotter.cpp @@ -777,6 +777,14 @@ void PDF_PLOTTER::ClosePage() VECTOR2D retval = VECTOR2D( aCoord ) * PTsPERMIL / ( m_IUsPerDecimil * 10 ); // PDF y=0 is at bottom of page, invert coordinate retval.y = psPaperSize.y - retval.y; + + // The pdf plot can be mirrored (from left to right). So mirror the + // x coordinate if m_plotMirror is set + if( m_plotMirror ) + { + retval.x = ( psPaperSize.x - retval.x ); + } + return retval; };