From cb449b876006d8bb2691d9e9a8e551bd48f49bfc Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Sun, 12 Mar 2023 13:35:04 +0100 Subject: [PATCH] Drop suppport for ai files as the bounding box is not correct and other formats like ps and pdf are very similar and work fine (now). This should be revered in case ps2ai.ps properly processes the BoundingBox. Given the fact that it is a PS script itself I don't quite see how it wants to get access to a comment that's even later in the file. So I don't expect that to happen soon - or at all. Alternative we could be producing AI files ourselves. It's just a gloryfied PS file anyway. But that currently not planned. Resolves: #534 --- boxes/formats.py | 2 +- documentation/src/usermanual.rst | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/boxes/formats.py b/boxes/formats.py index c854ce4..16adb0b 100644 --- a/boxes/formats.py +++ b/boxes/formats.py @@ -38,7 +38,7 @@ class Formats: "dxf": "{pstoedit} -flat 0.1 -f dxf:-mm {input} {output}", "gcode": "{pstoedit} -f gcode {input} {output}", "plt": "{pstoedit} -f plot-hpgl {input} {output}", - "ai": "{pstoedit} -f ps2ai {input} {output}", + # "ai": "{pstoedit} -f ps2ai {input} {output}", "pdf": "{ps2pdf} -dEPSCrop {input} {output}", } diff --git a/documentation/src/usermanual.rst b/documentation/src/usermanual.rst index aeb92a6..c25f517 100644 --- a/documentation/src/usermanual.rst +++ b/documentation/src/usermanual.rst @@ -95,7 +95,6 @@ requires ``pstoedit``. Without ``pstoedit`` only ``SVG`` and ``postscript`` (ps) is supported. Otherwise you can also select -* ai * dxf * gcode * pdf