Hi,
Incorrect font size has been returned for text in shape on slide #19. I get 74.82 instead of 67.
Here’s the code:
Presentation presentation = new Presentation("test.pptx");
ISlide slide = presentation.getSlides().get_Item(18);
IAutoShape shape = (IAutoShape) slide.getShapes().get_Item(2);
IParagraph paragraph = shape.getTextFrame().getParagraphs().get_Item(0);
IPortion portion = paragraph.getPortions().get_Item(0);
System.out.println(portion.getText());
System.out.println(portion.createPortionFormatEffective().getFontHeight());
And the output:
“Not to know is bad; not to wish to know is worse.”
74.82
I’m using Aspose.Slides for Java 18.2.
Can you check this?
Thanks,
Zeljko
1465.PNG (61.9 KB)