(This is primarily directed at bulia who seems to have written a lot of
use code, and maybe Richard who knows a lot about text...)
I've been trying to finish off this tref code so I can move on to
bigger and more important things, but there is a lingering issue that I
haven't been able to kick. As it turns out, it is a similar issue that
can be seen with use elements, so fixing it should kill two birds with
one stone.
To recreate the problem with use in a clean SVN build, do the following:
- Create a new text object with some text in it. Make sure it is
visible (i.e. not in the defs).
- Create a second text object with nothing inside except a use
element that refers to the first text object.
- Play around with moving the two objects. Watch the cloned object
jump positions relative to the original. This doesn't happen when the
use element is outside of the text node.
I've been looking into text code but haven't been able to pinpoint the
problem yet. It could have something to do with compensation happening
twice when the clone is in a text node.
I was just hoping to get some fresh new ideas to help sort out the
problem, or ideas on where exactly to look.
Thanks in advance :)
Gail