Hi, I am using aspose.words and aspose.pdf to create a pdf from html with inline styles using the following code:
string text = "lots of html here...";
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
MemoryStream xmlStream = new MemoryStream();
Some of my html is formatting oddly, the font size is greatly increased for some words. Attached is an except of the intermediary "Aspose.Pdf" formatted xml:
The first text node renders perfectly. The second text node however renders the word "TARGET" in font size 12 (not 7.5). I have discovered that this is the case throughout my document - whenever a segment with a $NBS occurs, the following text segment will inherit the font-size of the non-breaking space segment and ignore its own. (But consequent Segments are fine!).
Please help me Aspose!