Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Bold Segment Breaks Words

$
0
0
Hi
I am using Visual Studio 2010, .NET 4.0, with Aspose PDF Generator 8.8 (I believe that's the latest version as of this posting).
I have discovered a bug when rendering a paragraph that contains a segment with the IsTrueTypeFontBold attribute set to true. If the segment is positioned within the text so that it would not have wrapped if the bold attribute was set to false, it will break the last word when the bold attribute is set to true.
See the attached file for an example. In the sample, when the segment "Environment and  Communications" is bold, the "s" on the end of Communications is rendered on the next line, whereas, if it is not bold, it is all rendered on the one line.
It would be preferable to render the whole word on the next line when bold in this circumstance.
The IsAutoHyphenated attribute has no apparent effect in this case.

Thanks
Chris Fairall

Viewing all articles
Browse latest Browse all 3131

Trending Articles