MathPortion Font Size Retrieved from Presentation in Java Seems to Be Wrong

Please unzip the file.There is only one Slide and one TextFrame in it.You can see the font size is 36 which show in the toolbar.
MathPortion-Fontsize.pptx.zip (44.5 KB)
When I read the MathPortion’s font size, I get 18, Not 36.So I think I need some help.Any help would be grateful.

@oscarstar,
Thank you for the issue description. I reproduced the problem with the font height of the MathPortion objects and logged the issue with ID SLIDESJAVA-38614 in our tracking system. Our development team will investigate this case. You will be notified when the problem is fixed.

The issues you found earlier (filed as SLIDESJAVA-38614) have been fixed in Aspose.Slides for Java 23.5 (JAR).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.

@oscarstar,
With Aspose.Slides for Java 23.5, please use the following code example:

Presentation pres = new Presentation("MathPortion-Fontsize.pptx");
try {
    ISlide slide = pres.getSlides().get_Item(0);
    IAutoShape shape = (IAutoShape)slide.getShapes().get_Item(0);
    for (IParagraph paragraph : shape.getTextFrame().getParagraphs())
    {
        for (IPortion portion : paragraph.getPortions())
        {
            if (portion instanceof MathPortion)
            {
                MathPortion mathPortion = (MathPortion)portion;

                for (IMathBlock mathParagraph : mathPortion.getMathParagraph())
                {
                    for (IMathElement mathElement : mathParagraph.getChildren())
                    {
                        if (mathElement instanceof MathematicalText)
                        {
                            MathematicalText mathText = (MathematicalText) mathElement;
                            IPortionFormatEffectiveData format = mathText.getFormat().getEffective();
                            System.out.println(format.getFontHeight());
                        }
                    }
                }
            }
        }
    }
}
finally { if (pres != null) ((IDisposable)pres).dispose(); }