Escape parens when outputting PDF text.
Fixes https://gitlab.com/kicad/code/kicad/issues/5917
This commit is contained in:
parent
db9e111838
commit
fa32f291bc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue