The first thing to understand is that 25D and DM2 are just Lucas model numbers. Lucas made a huge variety of distributors, with different advance curves, maximum advance, etc. all under the same model number. You have to look at the Lucas part number to determine what the specifications were originally. (The Lucas part number is a 5 digit number, usually with one letter after it, like 40698B.) Then on top of that, it is trivial to swap parts around, so someone might well have taken a 25D from a later car and modified it to deliver the same performance as the original distributor.
In fact, the 25D has been supplied as a replacement for the DM2 for at least the past 40 years (which probably explains why both your car and mine have them). According to an old Moss catalog I have, they supplied Lucas P/N 40783 (which is a 25D) as replacement for all TR2-TR3A (which would have used 40403, 40480 or 40698, depending on year). The 40783 doesn't have quite the same advance curve, but is fairly similar to the others.
If you really need every last fraction of a horsepower for some reason, then you'll need to spend some quality time on a dyno (aka rolling road) to find out just what your engine "likes". The absolute best ignition advance curve depends on a lot of variables, including the fuel you use (which BTW is different for different seasons), engine condition, modifications, etc. But, the curve isn't all that critical otherwise, so chances are that it will run just fine with what you have.
Or as Darrell suggested, send it off to Jeff to be recurved. Jeff also changes the recommended initial advance (the advance you set while doing a tune-up) though, so you'll need to remember what he tells you. If you forget and set it by the book, the engine will be down on power, burn more fuel and have more of a tendency to overheat.
PS, here is a little study I did some time ago, comparing some of the different distributors that have been used on TR2-4. This is only the centrifugal advance curve, the vacuum advance curves also vary somewhat.