From karl at freefriends.org Mon Jul 1 00:33:05 2024 From: karl at freefriends.org (Karl Berry) Date: Sun, 30 Jun 2024 16:33:05 -0600 Subject: [dvipdfmx] extractbb past, present, future Message-ID: <202406302233.45UMX5cl720017@freefriends.org> Hello dvipdfmx. After some discussion off the list, I've just committed a replacement extractbb.lua script written by Max, in r71664. The problem was that extractbb is listed as safe for restricted mode, but a clever user found a way around that (details available on request). The new script should eliminate that hole. Looking ahead, it might be cleaner to replace extractbb and ebb entirely, instead of relying on the dvipdfm(x) link. Max wrote another Lua script (attached) with the same functionality. Then the code in dvipdfmx for the bb stuff, plus the different "personalities" based on an argv[1] option, could be entirely removed. (For the 2025 build.) Wdyt? And, if we want to pursue this route, can anyone test the script, please? Especially on Windows. If it works out, we could put it in place now. --thanks, karl. -------------- next part -------------- A non-text attachment was scrubbed... Name: lua-extractbb.lua Type: application/octet-stream Size: 19151 bytes Desc: not available URL: