|
From: Allin C. <cot...@wf...> - 2010-02-03 04:04:20
|
On Tue, 2 Feb 2010, Ethan Merritt wrote: > I am totally unfamiliar with the mechanisms for loading or dumping the > MSWin clipboard. But that doesn't stop me from looking at the code :-) > > Two thoughts: > > In wgraph.c (CopyClip) line 1434: > hdc = CreateMetaFile((LPSTR)NULL); > > According to the on-line docs at msdn.microsoft.com, since 2000 > it is better to use CreateEnhMetaFile(), and if necessary > convert this afterwards to a backwards compatible [unenhanced] > metafile. Can the clipboard not handle an enhanced metafile? Yes, the Windows clipboard can handle enhanced metafiles, and since we have a good driver for that format in emf.trm it would be a good idea to make use of it. (I suspect -- though I admit I'm winging it here -- that Windows could downgrade it to WMF if needed for an archaic paste target that can't handle EMF.) One observation on gnuplot 4.4: this list has been much taken up with somewhat arcane problems on Windows. My 2 cents is that it would be good to have 4.4 out as soon as possible just so long as there are no substantial regressions relative to 4.2 (given how much good stuff 4.4 contains). I fear that waiting for perfection on "pause mouse" and company could be a recipe for indefinite postponement. Allin Cottrell |