Dear Herbert, On 2021/03/17 21:43, Herbert Schulz wrote:
With the pstricks transparency example I supplied xelatex alone---default parameters for xdvipdfmx alone, -dALLOWTRANSPARENCY, no need for forcing -dNOSAFER---works just fine.
Probably you are using an old dvipdfmx.cfg. Or using an old Ghostscript in which NOSAFER is the default. For the new one in TL2021 pretest, with gs-9.53.3, where SAFER mode is the default, I can confirm on W32: xdvipdfmx TransparencyTest.xdv Error: /invalidfileaccess in --run-- Operand stack: (c:/usr/SVN/tlmaster3/texmf-dist/dvips/pstricks/pstricks.pro) (r) Execution stack: %interp_exit .runexec2 --nostringval-- run --nostringval-- 2 %stopped_push --nostringval-- run run false 1 %stopped_push 2022 1 3 %oparray_pop 2021 1 3 %oparray_pop 2009 1 3 %oparray_pop 1865 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- run --nostringval-- 2 %stopped_push --nostringval-- 2022 1 3 %oparray_pop run Dictionary stack: --dict:763/1123(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)-- Current allocation mode is local Last OS error: Permission denied Current file position is 66 Apparently it is needed to read pstricks.pro given by fullpath, that is impossible in SAFER mode. If I use the new additional dvipdfmx-unsafe.cfg: xdvipdfmx -i dvipdfmx-unsafe.cfg TransparencyTest.xdv **** WARNING: .setopacityalpha is deprecated (as of 9.53.0) and will be removed in a future release **** See .setfillconstantalpha/.setalphaisshape for the improved solution **** WARNING: .setopacityalpha is deprecated (as of 9.53.0) and will be removed in a future release **** See .setfillconstantalpha/.setalphaisshape for the improved solution The resulting TransparencyTest.pdf is fine. Thanks, Akira