Hi all,
  It turns out that \_ and \^ do not render at all in veusz SVN; the
attached patch fixes that. It turned out to be simplest to modify the
render tree construction to execute symbol substitutions at the same
time as scripts and commands, since the two-pass substitution meant that
(originally escaped) carets or underscores tended to later get
re-interpreted as script commands... I also added another character,
\backslash, since there doesn't seem to be any way to currently put a
literal backslash in a text field. Manual testing seems to indicate that
the text rendering is now correct, including reasonably pathological
cases like "a\\\backslash\__\^^\dagger".

I've attached the patch, since I don't trust my webmail to not mangle it.

Regards,
-- BKS

Attachment: veusz-text-rendering-improvements.patch
Description: Binary data

_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à