HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › It seems adjustHtmlWidth doesn’t work › Re: Re: It seems adjustHtmlWidth doesn’t work
I’ve tried v3.9.3.
But there is still a problem with converting html to rtf.
I set the html width to a big value before I used pd4ml.adjustHtmlWidth(),the font size of the resulting rtf becomes very small.If I set the html width to a smaller value,the right margin will be cut.
I am confused that it’s normal to convert html to pdf, the content will auto wrap to a new line,but when I convert to rtf,the font size will be very small or right margin is cut off.
I hope it can auto wrap to a new line to fit to the page width when I convert a html to rtf , but the font size doesn’t become very small.
How can I solve it?
It’s urgent for us,please give us some advice.