Wrong Font Family Recognition for Section in Aspose.Slides for .NET

Dear Aspose,
When Aspose.Slides (Windows or Linux 23.05) creates SVG - recognition of font-family seems to be driven by the font-family of first child text element - which can be different than font family set for the whole section. As a result section font is chosen different. Such behavior brings us troubles.

This makes serious issues for us when using such SVG in word template (using your engine).
Since on Linux our “Arial” is not “smart” enough and instead of Japanese characters it shows only empty rectangles - which does not happen for MS PGothic (which is too installed and will be used in proper assembly of SVG file) - when we make an image of such PDF it is worthless:

japan-MSPGothic-with-Arial-Bullets-Word-Converted-to-PDF-to-PNG.jpg (35.0 KB)

.

Files attached to demonstrate different look in PowerPoint and SVG
(japan-MSPGothic-with-Arial-Bullets.png):
japan-MSPGothic-with-Arial-Bullets.png (286.1 KB)

Which can be solved by proper family recognition - changes also included on another picture
(japan-MSPGothic-with-Arial-Bullets-fixed.png):
japan-MSPGothic-with-Arial-Bullets-fixed.png (262.5 KB)

Please look at the issue and let us know with fix.

Attached zip:
2023-06-16 - Japan-MSPGothic-with-Arial-Bullets.zip (706.4 KB)

Best regards:
Pavel

@ottap,
Thank you for contacting support.

I am working on the issue you described and will get back to you as soon as possible.

@ottap,
Please check your results using the latest version of Aspose.Slides for .NET if it is possible. If the issue persists, please share a code example that reproduces the problem with the fonts.