Escape parens when outputting PDF text.
Fixes https://gitlab.com/kicad/code/kicad/issues/5917
This commit is contained in:
@@ -71,7 +71,8 @@ std::string PDF_PLOTTER::encodeStringForPlotter( const wxString& aText )
|
||||
// These characters must be escaped
|
||||
switch( code )
|
||||
{
|
||||
// se if '(' and ')' must be escaped.
|
||||
case '(':
|
||||
case ')':
|
||||
case '\\':
|
||||
result += '\\';
|
||||
KI_FALLTHROUGH;
|
||||
|
||||
Reference in New Issue
Block a user