diff --git a/common/plotters/SVG_plotter.cpp b/common/plotters/SVG_plotter.cpp index bdb567e1f9..761f3c6258 100644 --- a/common/plotters/SVG_plotter.cpp +++ b/common/plotters/SVG_plotter.cpp @@ -676,6 +676,10 @@ void SVG_PLOTTER::Text( const wxPoint& aPos, // TODO: see if the postscript native text code can be used in SVG plotter + fprintf( outputFile, + "%s\n", + TO_UTF8( XmlEsc( aText ) ) ); PLOTTER::Text( aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify, aWidth, aItalic, aBold, aMultilineAllowed ); + fputs( "", outputFile ); }