~vcs-imports/veusz/trunk

Viewing all changes in revision 712.

  • Committer: jeremysanders
  • Date: 2011-01-31 20:30:40 UTC
  • Revision ID: jeremysanders-20110131203040-r5crs2hw3b13ru3a
Patch by Benjamin K Stuhl:
 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".

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: