[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gs -dNOSAFER / windows

From: Knut Petersen
Subject: gs -dNOSAFER / windows
Date: Wed, 30 May 2018 11:05:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

Hi everybody!

Could someone please explain why we use ghostscript in  -dNOSAFER
mode if the windows platform is used?

   (define-public (postscript->pdf paper-width paper-height
                                    base-name tmp-name is-eps)
      (let* ((pdf-name (string-append base-name ".pdf"))
             (*unspecified* (if #f #f))
              (remove (lambda (x) (eq? x *unspecified*))
                       (if (ly:get-option 'verbose) *unspecified* "-q")
                       (if (or (ly:get-option 'gs-load-fonts)
                               (ly:get-option 'gs-load-lily-fonts)
                               (eq? PLATFORM 'windows))

Doesn't that mean that -dsafe is totaly broken on windows as it prevents
exploiting scheme but allows to use ghostscript as an unfriendly tool?!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]