EMF to PDF spacing issues

I’m trying to do EMF to PDF conversion and have noticed some incorrect spacing in the resulting PDF. I’ve heard that this could be due to mismatched fonts, is there something I can try changing to make the fonts match?

Here is the function that I’m using to do the conversion:

public void ConvertEMFtoPDF(string emfPath, string pdfPath)
   {
     using (Aspose.Imaging.Image image = Aspose.Imaging.Image.Load(emfPath))
     {
       PdfOptions options = new PdfOptions();
       EmfRasterizationOptions rasterizationOptions = new EmfRasterizationOptions();
       rasterizationOptions.PageWidth = image.Width;
       rasterizationOptions.PageHeight = image.Height;
       options.VectorRasterizationOptions = rasterizationOptions; 
       image.Save(pdfPath, options);
     }
   }

I have also attached my original EMF and the resulting PDF for reference.

EmfPdf.zip (112.7 KB)

@gglad,

I have worked with the image file shared by you and have been able to observe the issue specified. An issue with ID IMAGINGNET-3125 has been created in our issue tracking system to investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.