From 51004e42f4b10591aff01e79f74938bf39cb9444 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 28 May 2024 15:37:11 +0100 Subject: [PATCH] Improve comments. --- common/plotters/SVG_plotter.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/plotters/SVG_plotter.cpp b/common/plotters/SVG_plotter.cpp index 8626417a6c..44c088d4d6 100644 --- a/common/plotters/SVG_plotter.cpp +++ b/common/plotters/SVG_plotter.cpp @@ -884,7 +884,9 @@ void SVG_PLOTTER::Text( const VECTOR2I& aPos, VECTOR2D text_pos_dev = userToDeviceCoordinates( text_pos ); VECTOR2D sz_dev = userToDeviceSize( text_size ); - // Output the text as a string for WYSIWYG search and for those who want to edit the file. + // Output the text as a hidden string (opacity = 0). This allows WYSIWYG search to highlight + // a selection in approximately the right area. It also makes it easier for those that need + // to edit the text (as text) in subsequent processes. { if( !aOrient.IsZero() ) {