[Poppler-bugs] [Bug 14705] render_to_pixbuf method adds an extra vertical line at the right

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 27 12:59:32 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=14705





--- Comment #1 from Carlos Garcia Campos <carlosgc at gnome.org>  2008-02-27 12:59:31 PST ---
The problem is the float to int conversion:

cairo_width = (int) ceil(width * scale);                                        
cairo_height = (int) ceil(height * scale);

The surface can be thus bigger than the desired size. The surface is filled
with white before rendering, since poppler renders with transparencies.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list