PowerPoint Slide Thumbnail Uses Arial Regular instead of Arial Bold

We currently have an issue where the thumbnail uses Arial Regular instead of Arial Bold like the title has in the presentation. We do have occurences of mixed bold and non bold in one text field.

@yvdhaar,
Thank you for contacting support.

Please check your results using the latest version of Aspose.Slides if it is possible. If the issue persists, please share the following data and information:

  • presentation file
  • code example that reproduces the problem
  • output files
  • OS version on which the code was executed
  • .NET target platform in your app

You can zip the files and upload the archive here.

Thanks for your reply. I have the most recent version of Aspose.Slides(22.12). Here’s the attachment with the presentation and thumbnail: Bold test.zip (31.1 KB)

The C# code that reproduces the problem is:

Bitmap slideThumbnail;
slideThumbnail = titleSlidePresentation.Slides[0].GetThumbnail(new Size(Width, Height));

using var thumbnailStream = new MemoryStream();
slideThumbnail.Save(thumbnailStream, ImageFormat.Jpeg);
var jpgData = thumbnailStream.ToArray();
slideThumbnail.Dispose();

Where the width is 640 and the height 360.

The OS is a docker image with windows subsystem for linux: 5.10.102.1-microsoft-standard-WSL2

We are targeting .NET 6.0, the exact runtime at the moment is: *Microsoft.AspNetCore.App 6.0.13 *
Microsoft.NETCore.App 6.0.13

Kind regards,

Yorick

@yvdhaar,
Thank you for the code example, files, and information about your environment. I’ve added a ticket with ID SLIDESNET-43716 to our issue-tracking system. Our development team will investigate the case. We will inform you of any progress.