summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e7c480b)
raw | patch | inline | side by side (parent: e7c480b)
author | miklosh <miklosh@users.sourceforge.net> | |
Thu, 10 Aug 2006 21:11:33 +0000 (21:11 +0000) | ||
committer | miklosh <miklosh@users.sourceforge.net> | |
Thu, 10 Aug 2006 21:11:33 +0000 (21:11 +0000) |
src/extension/internal/pdf-cairo.cpp | patch | blob | history |
index ed842e61f53c13e68c70e70501434e31d53825e4..28ce5384ae75bd0dcf7952c093719297c97da368 100644 (file)
@@ -571,7 +571,7 @@ PrintCairoPDF::fill(Inkscape::Extension::Print *mod, NRBPath const *bpath, NRMat
} else {
cairo_set_fill_rule(cr, CAIRO_FILL_RULE_WINDING);
}
- if (0 && alpha != 1.0 &&
+ if (alpha != 1.0 &&
style->fill.type != SP_PAINT_TYPE_COLOR) {
cairo_clip (cr);
@@ -710,7 +710,7 @@ PrintCairoPDF::image(Inkscape::Extension::Print *mod, guchar *px, unsigned int w
cairo_surface_t *image_surface = cairo_image_surface_create_for_data(px_rgba, CAIRO_FORMAT_ARGB32, w, h, w * 4);
if (cairo_surface_status(image_surface)) {
- g_printf("%s\n", cairo_status_to_string(cairo_surface_status(image_surface)));
+ g_printf("Error: %s\n", cairo_status_to_string(cairo_surface_status(image_surface)));
return 0;
}