I have the following row in a table in my XML Template. When I have the segment populated it respects the html but not the font or the font size. When I remove the html support tag there is no font specified in the html. Any ideas on how I can get the segment to respect both html tags and font names/sizes?. <br><br> <Row><br> <Cell><br> <Text IsHtmlTagSupported="true" FontName="Arial" FontSize="10"><br> <Segment ID='Notes'></Segment><br> </Text><br> </Cell><br> </Row><br><br><br>**Note** I also have multiple segments with the same FontName and FontSize applied with no problem. It seems the htmltag support is causing the issue here.<br><br>
Hi Ari,
Thanks for your inquiry, I've managed to reproduce the issue at my end and logged it as PDFNEWNET-35053 in our issue tracking system for further investigation and resolution. We will keep you updated regarding issue status via this thread.
<span style=“font-size:10.0pt;line-height:115%;font-family:“Arial”,“sans-serif”;
mso-fareast-font-family:Calibri;mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA”>
mso-fareast-font-family:Calibri;mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA”>
mso-fareast-font-family:Calibri;mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA”>Sorry for the inconvenience faced.
mso-fareast-font-family:Calibri;mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA”>
Any idea when this problem will be fixed?
Hi Ari,
Hello,
I saw the new release and downloaded it to see if it fixed my problem. Sadly it did not. Do you know if the bug I reported was included in this release and if not do you have any idea of when it will be fixed?
Thanks
Hi Ari,
Hi Ari,
<Cell><o:p></o:p>
<Text UseTextInfoStyle="true" IsHtmlTagSupported="true" FontName="Arial" FontSize="18" >
<Segment ID='Notes' >Green </Segment>
</Cell>
The use of TextInfoStyle forces change of default style of HTML processing according to FontName and FontSize attributes of Text instance. Please take a look over correct XML file in attachment.
The issues you have found earlier (filed as PDFNEWNET-35053) have been fixed in Aspose.Pdf for .NET 7.9.0.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
Hi the issue is not fixed yet. I just added the new dll cleaned/rebuilt my solution tested and got the same issue. Attached is the pdf and here is the xml template its using to populate that area.
I have tried putting the font name and size on the text segment and still no fix.
Hi Ari,