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:
parent
2ed3bf47bb
commit
16cf1a4d09
|
@ -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
|
// 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,
|
PLOTTER::Text( aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify,
|
||||||
aWidth, aItalic, aBold, aMultilineAllowed );
|
aWidth, aItalic, aBold, aMultilineAllowed );
|
||||||
|
fputs( "</g>", outputFile );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue