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.
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.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: 188.8.131.52-microsoft-standard-WSL2
We are targeting .NET 6.0, the exact runtime at the moment is: *Microsoft.AspNetCore.App 6.0.13 *
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.