Output text content as a description of the stroked path.

Fixes: lp:1544918
* https://bugs.launchpad.net/kicad/+bug/1544918
This commit is contained in:
Jeff Young 2019-06-28 22:17:46 +01:00
parent 2ed3bf47bb
commit 16cf1a4d09
1 changed files with 4 additions and 0 deletions

View File

@ -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,
"<g class=\"stroked-text\"><desc>%s</desc>\n",
TO_UTF8( XmlEsc( aText ) ) );
PLOTTER::Text( aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify,
aWidth, aItalic, aBold, aMultilineAllowed );
fputs( "</g>", outputFile );
}