From e1ffd956e6730c107af6930e692d11d8a0d27398 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Tue, 18 Jun 2024 11:59:37 -0400 Subject: [PATCH] Try harder to keep searchable text hidden in SVG exports --- common/plotters/SVG_plotter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/plotters/SVG_plotter.cpp b/common/plotters/SVG_plotter.cpp index 045070c7a7..ab640ef976 100644 --- a/common/plotters/SVG_plotter.cpp +++ b/common/plotters/SVG_plotter.cpp @@ -851,7 +851,7 @@ void SVG_PLOTTER::Text( const VECTOR2I& aPos, fprintf( m_outputFile, "textLength=\"%.*f\" font-size=\"%.*f\" lengthAdjust=\"spacingAndGlyphs\"\n" - "text-anchor=\"%s\" opacity=\"0\">%s\n", + "text-anchor=\"%s\" opacity=\"0\" stroke-opacity=\"0\">%s\n", m_precision, sz_dev.x, m_precision, sz_dev.y, hjust, TO_UTF8( XmlEsc( aText ) ) ); if( !aOrient.IsZero() )