gpt4 book ai didi

postscript - Postscript 中的宽虚线

转载 作者:行者123 更新时间:2023-12-04 02:10:52 24 4
gpt4 key购买 nike

下面的代码绘制了一条宽虚线曲线。曲线太宽以至于虚线重叠。在黑色虚线重叠的某些地方,输出似乎是错误的。我已经在 Mac OS X 和 Ghostscript 的预览版中对此进行了测试。谁能解释一下?

%!
50 0 translate
500 dup scale
0.3 setlinewidth
[0.05 0.03] 0 setdash
0.1 0.1 moveto 0.2 2 0.6 -1.0 1 1 curveto
stroke
showpage

enter image description here

最佳答案

在我看来像是一个错误,Acrobat Distiller 生成了一个 PDF 文件,其中破折号段不显示 eofill 行为。 JAWS PostScript 解释器也没有展示这一点。据推测,Mac OS/X Preview 使用 Ghostscript 渲染 PostScript 文件以供预览。

关于postscript - Postscript 中的宽虚线,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28078887/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com