You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have an option allowing to fit a webpage to one single page (PDF or PS).
My problem is that I have some text followed by an image with fixed dimensions in a HTML page. If the text is too long, the image gets skipped to the second page of the produced PDF. Since it's hard to determine the height of the text to adapt the image dimensions, htmldoc could do the job by scaling the whole page down if necessary.
The text was updated successfully, but these errors were encountered:
The issue with this feature is that there is no way to do it unless we render the document at least twice - the first time to determine the bounds and the second time to produce the page(s). Because of scaling issues, it is possible that we would need to rescale+reformat more than twice to get the output onto a single page.
Not sure if this feature will be implemented, but will leave open if you have any implementation ideas or want to further clarify what you would like to see HTMLDOC do.
Multiple horizontal pages won't happen - it throws off pagination and would make HTMLDOC a lot more complicated than necessary. Better to just insert a larger page for wide tables, if you know you have them...
Pushing to 1.10, although I still remain skeptical that we will ever implement this...
Version: 1.10-feature
Original reporter:
It would be nice to have an option allowing to fit a webpage to one single page (PDF or PS).
My problem is that I have some text followed by an image with fixed dimensions in a HTML page. If the text is too long, the image gets skipped to the second page of the produced PDF. Since it's hard to determine the height of the text to adapt the image dimensions, htmldoc could do the job by scaling the whole page down if necessary.
The text was updated successfully, but these errors were encountered: