Commit fae3b50a authored by Tavmjong Bah's avatar Tavmjong Bah Committed by Tavmjong Bah

Comment out non-functional code that prevents compiling

with cairo trunk.

(bzr r10091)
parent b6e4da66
......@@ -812,10 +812,11 @@ CairoRenderContext::setupSurface(double width, double height)
#endif
// Cairo calculates the bounding box itself, however we want to override this. See Launchpad bug #380501
#if (CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 11, 2))
if (override_bbox) {
cairo_ps_dsc_comment(surface, "%%BoundingBox: 100 100 200 200");
cairo_ps_dsc_comment(surface, "%%PageBoundingBox: 100 100 200 200");
}
// This is only a template, override_bbox and the bounding box values must be defned.
// if (override_bbox) {
// cairo_ps_dsc_comment(surface, "%%BoundingBox: 100 100 200 200");
// cairo_ps_dsc_comment(surface, "%%PageBoundingBox: 100 100 200 200");
// }
#endif
break;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment