Free Support Forum - aspose.com

Fonts size is increased after saving the Slide to HTML on Linux (Java)

Hi, we have a strange issue, that after saving the slide as html on Linux env, sizes of all texts is increased. On windows env it’s fine.

Windows:
win.png (16.9 KB)

Linux:
linux.png (18.7 KB)

Using java library:
com.aspose:aspose-slides:19.8

All test data:
data.zip (89.9 KB)
it contains:
test.pptx - actually the presentation
windows.html - slide html generated on windows env, which is Ok.
linux.thml - slide html generated on linux env, which isn’t Ok.

Also, the difference is in jdk, on Linux openjdk 1.8 is used, while in windows it’s oracle jdk 1.8.

@matrdev,

I have worked with source file and have been able to observe issue. A ticket with ID SLIDESJAVA-37746 has been created in our issue tracking system to further investigate to resolve the issue. We will share good news with you soon.

Thanks. Are you able to give a rough estimate of how long it will take?

@matrdev,

We have investigated and resolve the issue on our end. This issue is related to missing fonts. In order to fix this issue as given in FL_cmp.png, please, use FontsLoader or install missing fonts (Arial and Calibri).

Please also check the attached HTML files for results with and without required fonts. Html Files.zip

Thanks, It helped!

The issues you have found earlier (filed as SLIDESJAVA-37746) have been fixed in this update.