if i use fitShapeToText = true and another font then default arial it seems that the size calculation of the textframe is wrong.
What should I do to get a correct sized textframe?
Maybe this old thread is related.
<span style=“font-size:10.0pt;font-family:“Arial”,“sans-serif””>Thanks for
You are right that this is the issue pointed out by one of our customer but development team marked this not a bug in Aspose.Slides.
The source of the problem is difference between text rendering in GDI
and GDI+. MS Office applications use standard GDI for text rendering.
.NET framework uses GDI+.
I’d offer possible solution which should always work.
necessary to create separate Paragraph for each text line and disable
text wrapping after the whole TextFrame will be filled with text.