From 9cd284a9c0847c0ecec6285b19e1b24289e4ede5 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Wed, 7 Sep 2022 09:11:27 -0300 Subject: [PATCH] [Quick Start][PCB Print] Fixed tools check - Changes in the toolchain --- kibot/out_pcb_print.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/kibot/out_pcb_print.py b/kibot/out_pcb_print.py index 19425dd8..e053a4dc 100644 --- a/kibot/out_pcb_print.py +++ b/kibot/out_pcb_print.py @@ -1093,13 +1093,12 @@ class PCB_Print(BaseOutput): # noqa: F821 if GS.check_tool(name, 'rsvg1') is None: logger.warning(W_MISSTOOL+'Disabling most printed formats') disabled |= {'PDF', 'PNG', 'EPS', 'PS'} - elif GS.check_tool(name, 'rsvg2') is None: - logger.warning(W_MISSTOOL+'Disabling EPS PCB print') - disabled.add('EPS') # Check we can convert to PS if GS.check_tool(name, 'Ghostscript') is None: logger.warning(W_MISSTOOL+'Disabling postscript/PDF printed format') - disabled |= {'PDF', 'EPS', 'PS'} + disabled |= {'PDF', 'PNG', 'EPS', 'PS'} + if GS.check_tool(name, 'ImageMagick') is None: + disabled |= {'PNG'} # Generate one output for each format for fmt in ['PDF', 'SVG', 'PNG', 'EPS', 'PS']: if fmt in disabled: