What steps will reproduce the problem?
1. Create valid xhtml file. (Used the w3.org validator to check)
2. Java2DRenderer renderer = new Java2DRenderer(xHtmlFile, 600); - dont specify
height, to have it determined automatically
3. BufferedImage buffImg = renderer.getImage();
4. System.out.println("buffImg.width = " + buffImg.getWidth()); - it's 16
pixels.
5. Writing the png to a file actually makes it 16 pixels high too.
What is the expected output? What do you see instead?
I'm expecting to see my html rendered to an image, but I only see the top
600x16 pixels of it.
What version of the product are you using? On what operating system?
Latest version, WIndows 7.
Please provide any additional information below.
Original issue reported on code.google.com by ingo.woh...@gmail.com on 5 Mar 2014 at 11:20
Original issue reported on code.google.com by
ingo.woh...@gmail.com
on 5 Mar 2014 at 11:20