setTextState doesn't work on TextSegment when new line character is there

Hi,
I am using aspose 17.10 and getting a strange error.

We have defined a TextFragment and TextSegment. We have not set any font style (size, type etc.) for TextFragment. We are setting these at TextSegment level.

Now when we add the TextSegments to TextFragment, all works fine and all the TextSegment comes with their own style.

But only TextSegments which have a new line (some text entered with windows enter key … i.e. \n\r , new line with carriage return), for those TextSegment, what ever the textState I set, it doesn’t get reflect.

Please help.

Thanks
Amit

@justdude09

Thank you for contacting support.

I have observed your comments and like to request you to please share the narrowed down code sample reproducing the issue, so that we may investigate it in our environment to help you further.