Hello,
I have Aspose Slide Java, version 20.2 (latest version), installed on Mac OS Catalina.
I did several exports of the same PowerPoint to PDF and I get two different results.
One with texts bolder than the other. The bolder one is the correct one.
I used a software (PDF Studio 2019) to get the properties of the text for each slides.
For the correct PDF (bolder), the outline width = 2
For the other one, the outline width = 1.067
Here the related code
public ByteArrayOutputStream convertToPdf(InputStream is) throws PdfConversionException {
Presentation pres = new Presentation(is);
try (ByteArrayOutputStream os = new ByteArrayOutputStream()) {
pres.save(os, SaveFormat.Pdf);
return os;
} catch (IOException e) {
throw new PdfConversionException("Could not convert PowerPoint to PDF", e);
}
}
I tried that export many times (like 50 times), I have mainly non-bold results.
Did you already identify that issue?
Do you know some workarounds?
Since the results are randoms, I am sure the problems is not coming from my code, which is very minimal.
Moreover, I have been able to reproduce the issue on Linux and docker using Linux.