I’m seeing issues with EMF files that use EMR_EXTSELECTCLIPRGN clipping records - in particular, EMFs that come from Access Data Snapshot (.snp) files. I’ll attach an example EMF. It seems that the clipping boxes are incorrectly calculated - in particular, the X coordinates are not scaled properly, and the Y coordinates are not scaled properly AND it seems that they are incorrectly getting summed. I’ll attach the output PDF I get from conversion, in which you can see the text is present but clipped; I get the same incorrect clipping when converting to raster formats (e.g. PNG). Viewing the EMF in other tools (Paint, Word, Libreoffice) correctly displays the full text. As a workaround I am manually clearing the rectangles in these records so they do not end up clipping anything.
aspose_emf.zip (140.0 KB)