是否可以关闭 Ghostscript 中的“SAFER”选项?

是否可以关闭 Ghostscript 中的“SAFER”选项?

我有一个乳胶程序,它创建一个svg如下所示的文件:

 *** WARNING - you have selected SAFER, indicating you want Ghostscript
               to execute in a safer environment, but at the same time
               have selected DELAYBIND. Unless you use this option with
               care (and specifically, remember to call .bindnow) it is
               possible that malicious code may be able to evade the
               limited security offered by the SAFER option.

 *** WARNING - you have selected SAFER, indicating you want Ghostscript
               to execute in a safer environment, but at the same time
               have selected WRITESYSTEMDICT. Unless you use this option with
               care and specifically, remember to execute code like:
                      "systemdict readonly pop"
           <?xml version='1.0' encoding='UTF-8'?>
<!-- This file was generated by dvisvgm 2.6.3 -->
<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='41.912854pt' height='2.231656pt' viewBox='219.641194 340.806823 41.912854 2.231656'>
<g id='page1' transform='matrix(1.4 0 0 1.4 0 0)'>
<path d='M157.683587 244.230465H186.0273'/>
<path d='M157.683587 244.230465H186.0273' stroke='#000' fill='none' stroke-width='1.59404' stroke-miterlimit='10'/>
</g>
</svg>

这些警告最近才开始出现。看来我已经SAFER在 Ghostscript 中选择了模式。是否可以默认关闭此功能?

相关内容