Sorry, I can see I haven't done this right (the Direct2D dependency is
still there). I'll have another go at it before long but in the meantime there's
no point in testing on XP.
Allin
On Sun, Oct 8, 2017 at 2:38 PM, Allin Cottrell <cottrell(a)wfu.edu> wrote:
On Sun, 8 Oct 2017, Hélio Guilherme wrote:
>> (...)
>> Maybe we should drop back to an earlier gnuplot version.
>>
>> Allin
>>
>
> Well, I don't think so. XP is "old" now. I think we should try to do
some
> detection of OS version and inform the user that some gnuplot features
> mught now work. Maybe then there could be a workaround to have it working
> (or even a "patch" for XP users). If the "patch" solution is too
costly on
> maintenance, maybe a solution that just by installing older gnuplot would
> be enough.
Ah, I now see that we don't need to go back to an earlier gnuplot version,
we can just comment out
#define HAVE_D2D
in config.h for the Windows build. That way the gnuplot Windows terminal
will use GDI/GDI+ instead of the newer Direct2D API. I don't think that's
any great loss.
XP is 16 years old, and unsupported by Microsoft, but it's still used very
widely. If we can maintain support for it that's good.
I'm in the process of posting new snapshots that include a revised wgnuplot
build. Yi-Nung, can you tell us if this version works, please?