
If that does NOT work, then we start with that drawing. Try a drawing consisting of a single solid colored rectangle. Verify that the simplest possible drawing can be copy/pasted into Inkscape trunk from Prism. Your goal is to create a test Prism drawing that cannot be copy/pasted into Inkscape, but which is as simple as possible.ġ. We need to work from a well defined and SIMPLE test case. I am having a very hard time following what you are doing and understanding how things are failing. Otherwise, post the EMF(+) file and I will look at it. (It might work best with a simpler test file though!) It will show both the EMF and EMF+ records, and usually in a case like this, it is obvious where the issue is. If the OP wants to poke around in that file, get libUEMF (sourceforge), build it, and run the "reademf" tool against the problem EMF(+) file. In any case, we need this data as a file to see what is going on. If a file like this hit Inkscape it would most likely not crash, just insert nothing. Some of the size values in the first EMF record might even be garbage, because the real values would come later in the EMF+ records, which do not use anything from the old EMF. (Really, hard to believe, but true.) However, even the purest EMF+ file still contains a couple of the old EMF record types at the ends.

These are not always complete, PowerPoint, for instance, just drops all the text out of the EMF+ description. "EMF" files usually contain mixes of the old EMF and the new EMF+ descriptions of the same document. Unless it differs in only tiny ways from WMF, it would not be supported by my code either.ĮMF+ files are an extension of EMF where comments are pressed into service to carry an entirely new set of information. If the contents of the clipboard really are EMF+ and they are getting into Inkscape, then it must be through a call out to native Windows libraries somewhere in devlibs. The functions exist in libUEMF, but Inkscape never calls them.

The EMF/WMF import/export code I maintain does not support EMF+ at all in Inkscape.

Could the OP test if pasting that into Inkscape is a problem?

Prism 6 few people are going to have, but it may be that the copy command from PowerPoint keeps the graphics commands in EMF.
