From bd64f86dbcf83ad444f579c98c3f94228393fd44 Mon Sep 17 00:00:00 2001 From: Stefan Frederik Date: Sun, 28 Aug 2022 23:50:57 +0200 Subject: [PATCH] no filled circles if layer has no fill (fill_type[c] == 0) --- src/psprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/psprint.c b/src/psprint.c index 2bca3307..5913cd93 100644 --- a/src/psprint.c +++ b/src/psprint.c @@ -118,7 +118,7 @@ static void set_ps_colors(unsigned int pixel) static void ps_xdrawarc(int layer, int fillarc, double x, double y, double r, double a, double b) { - if(xctx->fill_pattern && fillarc) + if(xctx->fill_pattern && xctx->fill_type[layer] && fillarc) fprintf(fd, "%g %g %g %g %g A %g %g LT C F S\n", x, y, r, -a, -a-b, x, y); else fprintf(fd, "%g %g %g %g %g A S\n", x, y, r, -a, -a-b);