Merge new features and minor fixes for v1.2.1 release #43
@ -371,8 +371,6 @@ static int cairo_renderer_render_cell_to_vector_file(GdsOutputRenderer *renderer
|
|||||||
for (info_list = layer_infos; info_list != NULL; info_list = g_list_next(info_list)) {
|
for (info_list = layer_infos; info_list != NULL; info_list = g_list_next(info_list)) {
|
||||||
linfo = (struct layer_info *)info_list->data;
|
linfo = (struct layer_info *)info_list->data;
|
||||||
|
|
||||||
dprintf(comm_pipe[1], _("Exporting layer %d to file\n"), linfo->layer);
|
|
||||||
|
|
||||||
if (linfo->layer >= MAX_LAYERS) {
|
if (linfo->layer >= MAX_LAYERS) {
|
||||||
printf(_("Layer outside of spec.\n"));
|
printf(_("Layer outside of spec.\n"));
|
||||||
continue;
|
continue;
|
||||||
@ -381,6 +379,8 @@ static int cairo_renderer_render_cell_to_vector_file(GdsOutputRenderer *renderer
|
|||||||
if (!linfo->render)
|
if (!linfo->render)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
dprintf(comm_pipe[1], _("Exporting layer %d to file\n"), linfo->layer);
|
||||||
|
|
||||||
if (pdf_file && pdf_cr) {
|
if (pdf_file && pdf_cr) {
|
||||||
cairo_set_source_surface(pdf_cr, layers[linfo->layer].rec, -xmin, -ymin);
|
cairo_set_source_surface(pdf_cr, layers[linfo->layer].rec, -xmin, -ymin);
|
||||||
cairo_paint_with_alpha(pdf_cr, linfo->color.alpha);
|
cairo_paint_with_alpha(pdf_cr, linfo->color.alpha);
|
||||||
|
Loading…
Reference in New Issue
Block a user