After upgrading from Aspose.Words v10.8 to v11.8, I have stumbled across a regression when rendering an XPS document which contains an embedded vector graphic which was originally sourced from an EMF.
In the latter (v11.8), most of the text is much further to the right than it should be. I have attached an example for reference. My code did not change between runs, I only swapped the Apose DLLs.
Here is an EMF file that has this issue when rendered to XPS.
I have tried this in Aspose.Words v11.9 and it looks the same as it did in v11.8.
Hi Russell,
Hi Russell,
Document(@“C:\Temp\in.docx”);
XpsSaveOptions xpsOptions = new XpsSaveOptions();
xpsOptions.MetafileRenderingOptions.EmfPlusDualRenderingMode = EmfPlusDualRenderingMode.Emf;
doc.Save(@"C:\Temp\out.xps", xpsOptions);
Hi Russell,
In Aspose.Words 11.3 we switched to rendering of EMF+ part of EMF+ dual metafiles instead of EMF part. So your problem is not a regression but a bug in EMF+ rendering. As Awais said you could switch back to rendering of EMF part of EMF+ dual metafiles if the result is acceptable for you.
Indeed, that change got it back to how it was.
However, I think the EMF+ renderer (minus the text alignment bug) looks much nicer with all the antialiasing and whatnot. I look forward to seeing it fixed so I can use it in future.
Bump.
We would really like to move our product to EMF+ for the next release, and this issue has become a showstopper. Would it be possible to get the priority of this ticket raised? Thanks.
Hi Russell,
The issues you have found earlier (filed as WORDSNET-7351) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
The fix appears to work from this end. Thanks
Hi Russell,